With Google Analytics for Confluence, you will be able to track and view your Atlassian Confluence Cloud data without moving away from Confluence! Follow this quick guide to get started.


For a flawless configuration, you must have the next prerequisites:

  • Admin access to your Confluence instance.
  • Admin access to a Google Analytics account.
  • Google Analytics tracking ID. How you can acquire this, depends on which version of Google Analytics you're using. See below for more information.

Universal Analytics

In Universal Analytics / Google Analytics 3 properties, we require the "Tracking ID". It has the format UA-123456789-1. Click here to see how to create a tracking ID. You may also find this Youtube video  (first 5 mins) helpful when setting up your tracking ID for the first time. 

Google Analytics 4

In Google Analytics 4, we require a "Measurement ID" for a website data stream. It has the format G-1234565789. Follow the instructions here to see how to set up a property, create a website data stream and get your measurement ID.

Step 1: Connecting Your Google Account

  • Find the Google Analytics Configuration panel in Confluence Settings -> Atlassian Marketplace 

  • Click on Sign in with Google

  • Click Ok, login to Google with your Google Analytics credentials, and grant the scopes

If you don't want to connect your Google Analytics account and just want to track Confluence data on Google Analytics, please read the Configuration without account connection setup guide.

Step 2: Account Settings

  • Set the groups that will be allowed to watch the analytics.
  • Set the account, property, and view/stream entries according to the setup created on Google Analytics

  • For Version GA4 you have to create a Measurement API Secret (Not necessary for UA). If you have one, you can select it. Otherwise, click the Create button.

  • Select the property and the stream
  • Save your unsaved changes

You might encounter an error message while creating the Measurement Protocol API Secret. See here for further instructions.

Step 3: Custom Dimensions

  • Click the Set Dimensions button to configure your custom dimensions automatically

  • The custom dimensions will be created in a matter of seconds. If the table doesn't refresh automatically, you can click on Refresh.

Step 4: View your data

There are 3 levels of data you can visualize: Instance, Space, Page:

  • For instance analytics, open the Overview page in the apps tab on the main menu

  • For space analytics, go to the space you want to analyze and click on Google analytics on the left panel.

  • For page analytics, click on the icon next to the space name on the desired page.

Please read on in the User Guide about all the features and how to make the most of the app.