How to Connect Your Morweb Analytics Dashboard
What You’ll Learn
You’ll learn how to create a Google Analytics service account key and send it to Morweb so we can link your Analytics Dashboard.
Why It Matters
Connecting Google Analytics to Morweb gives you a single dashboard to view visitor behavior, helping you make informed decisions about your site.
Step-by-Step Instructions
1. Create a Google Analytics Service Account Key
- Open the Google Service Account Quickstart guide for PHP:
https://developers.google.com/analytics/devguides/reporting/core/v3/quickstart/service-php#top_of_page - Sign in with the Google account that has access to your Analytics property.
- Follow the instructions under “Step 1: Create a service account”:
- Select or create a Google Cloud project.
- Click “Enable” to turn on the Analytics API for that project.
- Click “Create service account,” enter a name (for example, “Morweb Analytics”), and click “Create and continue.”
- Skip assigning roles and click “Done.”
- In the Service Accounts list, click the name of the account you just created.
- Go to the Keys tab. Click Add Key, choose JSON, then click Create.
- Save the downloaded
.json
file. This is your service account key.
2. Share the JSON File with Morweb
- Open your email program and start a new message to support@morweb.org (or your Project Coordinator).
- Use this subject line:
Google Analytics Key for Morweb Dashboard
- Attach the
.json
file you downloaded in Step 1. - In the message body, write:
Hello Morweb Team,
Please find attached the Google Analytics service account key file. Let me know once my Analytics Dashboard is connected.
Thanks,
[Your Name] - Send the email.
Troubleshooting Tips
- Service Account option not visible
Make sure you’re signed in to Google Cloud Console with the correct account and that the Analytics API is enabled for your project.
- Unsure which Google account has Analytics access
Go to analytics.google.com and sign in. If you don’t see your property, ask your site admin to grant you “Viewer” permission under Admin > Account Access Management.
- I attached the wrong JSON file
Create a new key by repeating Step 1, then email the new file. Revoke the old key under IAM > Service Accounts > Keys in Google Cloud Console.