Using Google Analytics in Confluence on more than one Confluence instance

Some companies will use our app on more than one Confluence Cloud instance or tenant.

e.g. at:

  • https://your-company-instance-alpha.atlassian.net/wiki

  • https://your-company-instance-beta.atlassian.net/wiki

We love that people wish to use our app on multiple instances, but also wish to tell you of some of the shortcomings of the way Google allows authentication between our app and Google.

The short answer is that for each Confluence instance, you will also need a separate Google Account to connect between Confluence and Google Analytics, otherwise Google will get confused.

How to connect multiple Confluence instances to Google Analytics

Step 1

If you’ve already attempted to configure multiple Confluence instances using the same Google account, you’ll first need to disconnect that Google Account from the app.

The steps to do this are detailed in https://dsapps.atlassian.net/wiki/spaces/analytics/pages/4829642837 .

Step 2

For each Confluence instance, create a separate Google account to connect that instance to Google Analytics.

Examples

Confluence Instance 1:
  • Confluence URL – https://your-company-instance-alpha.atlassian.net/wiki

  • Google Account – your-company-instance-alpha@gmail.com

Confluence Instance 2:
  • Confluence URL – https://your-company-instance-beta.atlassian.net/wiki

  • Google Account – your-company-instance-beta@gmail.com

Confluence Instance 3:
  • Confluence URL – https://your-company-instance-gamma.atlassian.net/wiki

  • Google Account – your-company-instance-gamma@gmail.com

Step 3

Login to Google Analytics as your normal user and add each of the separate Google Accounts as an admin user for their particular Google Analytics property.

Configure Google Analytics in Confluence in the normal way using the correct Google Account user for the correct Confluence instance.

https://dsapps.atlassian.net/wiki/spaces/analytics/pages/4829020168