Supermetrics Support Forum

How to Authenticate/Re-authenticate Google Analytics in Google Sheets, Google Data Studio & Excel

This guide gives instructions on how to successfully authenticate Google Analytics.  


Quick links to specific sections: 

Google Sheets

Data Studio

Excel

"If everything fails..." 


Data Source Access Requirements:

Before authenticating Google Analytics, please make sure you have gone through the rights and permissions required for this data source, meaning you are assigned as an "ad manager/admin" or as a similar role. To learn more, please refer to these guides:

  • Adding users to Google Analytics accounts

Access Requirements for User Account

  • Valid Google account with at least "Editor" access to a Property and Views underneath.

Authenticating with Google Sheets:

To authenticate Google Analytics in Google Sheets, please do the following steps:

1. Open up the Supermetrics sidebar in your Google Sheets.

2. Select Google Analytics in the sidebar, under data source.

3. Choose an account to sign in. 



4. Click on allow. If you wish to learn more about data consent, please see our Privacy Policy and Terms of Service


5. You have completed all the steps. You can now go back to the sidebar and select your Google Analytics account. 


Re-Authenticating with Google Sheets:

To re-authenticate Google Analytics in Google Sheets, please go to this guide.


Authenticating with Data Studio:

To authenticate Google Analytics in Google Data Studio, please do the following steps:

1. Click on create a new data source.

2. Search for Google Analytics by Supermetrics and click on Select when selecting it.

3. Click on Authorize. If you wish to learn more about data consent, please see our Privacy Policy and Terms of Service.

4. Choose an account to sign in. 

5. Click on Allow. If you wish to learn more about data consent, please see our Privacy Policy and Terms of Service.


6. Click on Ok, let's continue. However, if you wish to add a new Google Analytics user account, click on Add Google Analytics user account


7. You now have to select your account by clicking on select views.

- If you wish to select more business ad accounts, please go to the link shown in the screenshot below:

- If your Data Studio account belongs to multiple teams, you will see the option to select the team you wish to use. Go to the link below and select the team name with your license to proceed. (If you only belong to one team, skip to the next step).

8. Click on connect on the upper right side. 

9. It will then take you to the field list. By default, you don't need to do anything else. Click on add to report to proceed. 

Re-Authenticating with Data Studio:

To re-authenticate Google Analytics in Data Studio, please go to this guide.


Authenticating with Excel:

To authenticate Google Analytics in Excel, please do the following steps:

1. Click on data and open up the Supermetrics sidebar in Excel.

2. Select Google Analytics in the sidebar, under data source.

3. An automatic popup will open, click on start.

4. Choose an account to sign in. 


5. Click on Allow. If you wish to learn more about data consent, please see our Privacy Policy and Terms of Service.

6. You have completed all the steps. Now you can go back to the sidebar and select your Google Analytics account, under my data sources.

 

Re-authenticating with Excel:

To re-authenticate Google Analytics in Excel, please go to this guide.


"If everything fails.." 

Common errors:

If you encounter any of the following errors below, please see the guide linked after the error message.

  • Error: USER_PERMISSION_DENIED, please see this guide
  • Error: "This was a reauthorization request for user X but logged in as user Y", please see this guide
  • Error: "You're not allowed to run queries with this license #12345. This is because you have not been assigned to the license as a valid user." please see this guide.
  • Error: "This action is not supported when you are signed into multiple accounts". please see this guide.
  • If you no longer see a specific account/page/etc. when logging in, please see this guide
  • If you haven't managed to authenticate you might be affected by an issue at Google account management. For more information, please see this guide.
  • If you are logged into Google Docs with one Google Account, but for Supermetrics, you want to log in to Google Analytics with a different Google Account, please see this guide.
  • If nothing happens when you press on "Log into Google Analytics" button, please see this guide.  

Forcing a refresh per account data & removing a data source: 

To force a refresh per data source, please see this guide.

To remove a data source from Google Sheets, please see this guide.

To remove a data source from Data Studio, please see this guide.

To remove a data source from Excel, please see this guide.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.