Skip to main content

How to add Google Analytics key

Learn how to integrate your Google Analytics with an API-key in the software.

Updated over 7 months ago

Important: This is an advanced level integration. If you do not have Google Analytics experience, please contact our support team first.

To connect your Google Analytics you have to complete the following steps:

  1. Create GA service account authorization

  2. Add API key in GA Property ID

GA service account authorization

  • Make sure you are logged in to the correct Google account (you can switch the account by clicking the avatar in the top right corner)

  • Click on APIs and services

  • Click on + Enable APIS and Services.

  • Search Google Analytics Data API.

  • Click on Google Analytics Data API under the marketplace category.

  • Click on Enable.

  • Navigate back to API and Services by clicking on Enabled APIs and services in the left navigation bar.

  • Find the Google Analytics Data API in the list and click on it.
    ​

  • Click on Create credentials on the top right.

  • Select the Google Analytics API in the dropdown.

  • Select the Application data option to create a service account.

  • Select No, i'm not using them and click on next.

  • Select a service account in the dropdown or create a new one.

If you have to create a new service account:

  • Give your service account a name and description

  • Click on create and continue

  • Select the owner role

  • Click on continue

  • Click on done

  • The service account is now added and should be visable on screen under the tab Credentials. (Please save the e-mail shown here, because you'll need that later in Google Analytics).

  • Click on the service account you added.

  • Click on the Keys tab in the top menu.

  • Click on Add key and Create new key.

  • Select the JSON key type and click on Create.

  • The key will be created and automatically downloaded.

  • Navigate back to Insights in the platform.

  • Click on Add API Key (scroll down to the Google Analytics graph overview).

  • Upload the JSON file with the button Upload your JSON file here.


    ​


GA Property ID

  • Make sure you are logged in to the correct Google account (you can switch the account by clicking the avatar in the top right corner).

  • Navigate to the analytics account and property you want to connect.

  • Click on the Admin gear icon in the bottem left corner.

  • Click on Property Access Management.

  • Click on the + icon and Add users.

  • Paste the email address of the service account here that you saved before. (The role does not matter so it can stay on Viewer).

  • Click the Add button in the top right corner.

  • The link in your browser bar should look something like (note: this can be different): analytics.google.com/analytics/web/?authuser=1#/p352580133/reports/intelligenthome.

  • Copy the numbers from the browser bar after the letter p (in this case: 352580133).

  • Navigate back to the Insights in the platform.

  • Click on Add API Key.

  • Paste the number in the Property ID field.

  • Click on Save.

  • Your Google Analytics should now be connected.

  • Please refresh the page if the graph is not updated immediately.

Did this answer your question?