Troubleshooting Google Analytics Connection
Frequently Asked Questions
What's Covered
This guide covers how to resolve various issues with your Google Analytics connection in Moz Pro. If you’re looking for help with your traffic data not matching between Moz Pro and Google Analytics, please see our troubleshooting guide for Site Traffic.
Quick Links
- Trouble Connecting Google Analytics Profile
- Solve a Lost GA Connection
- Historical Data Warning
- Why did my token become invalid?
- Connecting GA4 Properties
- The account I want to connect isn’t listed in the drop-down
- I’ve connected GA but I’m not seeing data
- I added a new account in GA but it’s not an option to select
Trouble Connecting Google Analytics Profile
If you're having trouble connecting Google Analytics to Moz Pro this can sometimes be caused by a browser issue, like a conflicting plugin or by being logged into multiple Google accounts. We've got some troubleshooting steps you can try.
- Log out of all Google accounts and then only log into the Moz and Google accounts you want to connect
- Open a fresh incognito window in your browser and repeat the connection process
- Revoke other apps from your Google account to free up a Google token
If you're able to connect your Google Analytics account but you're not seeing the profile you want to connect try refreshing the browser which can help change the profiles showing up.
Solve a Lost GA Connection
If you receive a notification that we lost connection to your Google Analytics account you'll need to revoke the old token and request a new one. Here are the steps:
- Check you are an administrator on your Google Analytics account
- Make sure you are completely logged out of all Gmail/Google accounts
- Follow this link: https://accounts.google.com/issuedauthsubtokens. You'll be prompted to log into your Google Analytics account
- Revoke the token for Moz
- In your Moz Campaign Settings, click the little pencil icon and Disconnect, and then reconnect through the Connect another GA Account link, and select the profile you want to connect
![Within your Google account you can review and revoke your Moz token.](https://moz.com/images/help/large/Remove-Token-GA.png?w=1374&h=546&auto=compress%2Cformat&fit=crop&dm=1611963217&s=51a5cdbd311bdb9ae487650ea4a24756)
![To update your GA connection in your Moz Pro Campaign, head to Campaign settings and then traffic.](https://moz.com/images/help/large/Connect-Google-Analytics-through-Traffic-in-Campaign-Settings.jpg?w=1203&h=797&auto=compress%2Cformat&fit=crop&dm=1659968308&s=58c79278ab71b19fcd1ad3f1cb02a93d)
![When the tool prompts you to confirm you want to disconnect, click yes.](https://moz.com/images/help/large/Disconnect_connect_GA_1.png?w=744&h=482&auto=compress%2Cformat&fit=crop&dm=1547116791&s=244079a6f6f90b44eb592494e0e69bae)
![After disconnecting you can then reconnect your GA account.](https://moz.com/images/help/large/Reconnect_Google_analytics.png?w=920&h=489&auto=compress%2Cformat&fit=crop&dm=1547116800&s=f117263ce31b6c99ddc3fea50a40b041)
Please note: It can take a few attempts to reconnect, refreshing the page can help. Also note that in some cases it can take a day or two for a reconnection to succeed, if it's not successfully reconnecting right away, please come back tomorrow and try again.
If you are still stuck, it can help to repeat the steps above in a fresh incognito window or private browser session.
Historical Data Warning
When editing, reconnecting, or disconnecting your Google Analytics connection within your Moz Pro Campaign, you will see the message Are you sure you want to change this Google Analytics account? All historical data for this Google Analytics account will be lost.
This warning is only in reference to the historical traffic data which has been imported into your Moz Pro Campaign. The data within your Google Analytics account itself will remain unaffected and will still be accessible via Google Analytics. Additionally, after clicking Yes, you will have the option to cancel out of the update process without impacting your historical traffic data should you change your mind.
Historical data within your Campaign will be impacted by changes to your Google Analytics connection if you are performing one of the following updates:
Changing the connected Account (i.e. the name of the account in Google Analytics)
Changing the connected Profile (i.e. the UA or GA4 code)
Connecting an all new Google Analytics account
Disconnecting your Google Analytics account all together
If you reconnect the same Google Analytics Account and Profile, your historical data should not be impacted.
If you would like to export a record of your Traffic from Search data prior to making any changes, you can export this section to CSV or PDF. You also have the option to export past Custom Reports, should you need to.
Why Did My Token Become Invalid?
When you connect GA and Moz Pro we are given a Google Analytics authorization token so we can pull your data into your Campaigns. Sometimes these tokens can become invalid.
Google goes through a process called Oauth when it comes to authorizing access to the services that are linked to your Google account. Under any single Google account, tokens are used to provide access to a bunch of different services, from Gmail to the apps on your phone. Google has a 25 token limit for each account, which means you can have up to 100 profiles in a single account, but will only be able to connect 25 of them to other services in total. A token can also be revoked if you change your Google password.
The account I want to connect isn't listed in the drop-down
If the account you want to connect to your Moz Pro Campaign isn’t an option in the drop-down, it could mean that the overarching Google Analytics account associated with your account/profile combination isn’t connected to Moz.
To connect another Google Analytics (GA) account to your Moz account, click Connect another GA account from the connection module. You can do this during Campaign creation:
![During Campaign creation you can opt to connect a new account using the link at the bottom of the module.](https://moz.com/images/help/large/Connect-a-different-GA-account-during-campaign-creation.png?w=758&h=491&auto=compress%2Cformat&fit=crop&dm=1587761312&s=053b2427896c50abfa5940025f0ad28e)
Or from the Traffic tab of your Campaign Settings page:
![You can also connect a new account through your Campaign Settings.](https://moz.com/images/help/large/Connect-Google-Analytics-through-Traffic-in-Campaign-Settings.jpg?w=1203&h=797&auto=compress%2Cformat&fit=crop&dm=1659968308&s=58c79278ab71b19fcd1ad3f1cb02a93d)
If you are still not seeing the correct account and profile listed, we recommend attempting to connect via an incognito browser window.
What if I’m still not seeing the correct Account and Profile in the connector?
If, after following the steps to Connect another GA account, you’re still not seeing the account and profile listed in the connector in Moz, please follow the below steps.
- Refresh your browser
- Perform a hard refresh of your browser
- Log out of all Google accounts and then log into the Moz and Google accounts you want to connect
- Open a fresh incognito window in your browser and repeat the connection process
- Revoke other apps from your Google account to free up a Google token
Connecting GA4 Properties
Moz supports the connection of GA4 properties in Moz Pro Campaigns. To connect a GA4 property, please follow the same steps as you would when connecting a UA (Universal Analytics) property. To learn more about the implementation of GA4 into Moz Pro, please see our guide.
I’ve connected GA but I’m not seeing data
If you have connected Google Analytics to your Campaign but you are still not seeing data, you can use the following steps to verify that everything is set up correctly for pulling that data.
1. Verify that your Google Analytics account was not connected between weekly Campaign updates.
If you have just connected GA to a Campaign or have updated the connected account and profile, you will not see data until your next weekly Campaign update. Any time changes are made to your Campaign between weekly Campaign updates (i.e. adding/removing keywords or updating your GA connection) those changes will not take full effect until the next weekly update. You can verify when your Campaign is set to update next in your Dashboard below any of the available modules.
![The next scheduled update for your Campaign is noted in the dashboard below each module.](https://moz.com/images/help/large/Next-scheduled-update-date.png?w=883&h=533&auto=compress%2Cformat&fit=crop&dm=1587761966&s=e0eebb03e19962b58975b96a47157d4e)
2. Verify that the correct Account is selected
If you have multiple accounts connected to your overarching Google Analytics account, you will want to verify that you have the correct account selected in the Traffic tab of your Campaign Settings. This is particularly important if you have multiple account views with the same or similar name designations within your account.
To verify the correct account is selected you can click the pencil icon to edit your connection. This will populate a view with the account name shown.
![Within your Campaign settings you can verify the account and profile seleted.](https://moz.com/images/help/large/GA-verify-connected-account.png?w=988&h=587&auto=compress%2Cformat&fit=crop&dm=1587762232&s=3a339b60e440ae88838ce56d15757f12)
3. Verify that the correct Profile is selected
If you have multiple Profiles within the selected Google Analytics account, you will need to verify that you have the correct UA or GA4 code and profile view selected. You can see the selected code within the Traffic tab of your Campaign Settings. To verify the profile view selected is the correct one (in case you have multiple profiles for the same code) you can click the pencil icon to edit your connection. This will populate a view with the profile name shown.
![If you have multiple profiles within an account, be sure you have the correct one connected.](https://moz.com/images/help/large/GA-connected-profile.png?w=962&h=555&auto=compress%2Cformat&fit=crop&dm=1587761314&s=e8f5dcffc900da41f6c191fd974d7546)
If you’re not sure which code is embedded on your site, you can either search the source code of your homepage or use an extension like Google Tag Assistant to locate that information.
4. Verify that your GA account is showing data for the selected Account and Profile
If your GA account is also not showing data for the selected account and profile, this may be the sign of a larger problem that should be investigated.
5. If you’re seeing some data but it is not matching, please visit our Traffic Search Not Matching Google Analytics guide.
6. If you’re seeing no data or you’re seeing 0 visits populated in your Site Traffic graph, your token may have expired causing us to lose connection to your GA account- please see above for how to reset your token.
If you have checked all of these issues and are still not seeing data or the data you’re seeing does not match the data you’re seeing in GA, please email help@moz.com with the following information.
- The name of the Campaign not showing data or showing incorrect data
- A screenshot of your Google Analytics account. For an example of the type of screenshot we need to fully investigate, please see here.
I added a new account in GA but it’s not an option to select
If you’ve added a new account to your overarching Google Analytics (GA) account but it’s not showing up as an option to select in Moz Pro, this means that it was added after the most recent authentication of the connection between Moz and GA. To re-authenticate your connection:
- Open an incognito browser and head to moz.com
- During Campaign creation or from your Traffic tab in Campaign Settings, click Connect another GA account
- Follow the login prompts and log into the same Google Analytics account you already have connected to Moz.
This should authenticate the connection again so that an updated list of account options populates in the Traffic connection modules.
Related Articles
Was this article helpful?
Yes! Amazing!
Yes! It was what I needed.
Meh. It wasn’t really what I was looking for.
No, it wasn’t helpful at all.
Thanks for the feedback.