Skip to main content
All CollectionsIndie Ads Manager (IAM)
Tracking Ad Performance Using Google Analytics
Tracking Ad Performance Using Google Analytics
Updated over 3 months ago

If your publication is serving ads to your Indie Tech website using the Advanced Ads plugin, you will need to use Google Analytics to track display ad performance.

Setting up an Exploration in Google Analytics 4 (GA4) is the best way to report on display ad performance when using Advanced Ads to serve digital ads.

While default reports in Google Analytics help you monitor basic analytics, explorations allow you to explore your data in depth, going beyond standard reports. For this exercise, we will be building a free-form exploration.

Setting Up a Custom Dimension

To use Google Analytics to track ad performance, a custom dimension must be set up that connects GA4 to the Advanced Ads plugin on your Indie Site.

You can set up a custom dimension on your GA4 account by going to Admin > Data Display > Custom Definitions and add the following:

  • Dimension name: Advanced Ads

  • Scope: Event

  • Description: Advanced Ads event label

  • Event parameter: event_label

Note: If the event parameter event_label is already taken, reach out to your Publisher Guide!

Update Tracking Settings in Advanced Ads

First, you must ensure that the tracking in Advanced Ads is set to GA4. To do this, you will need to find your GA4 Property ID.

Find Your Property ID in Google Analytics 4

To find the tracking ID for your Google Analytics 4 property, you will need to follow these steps:

  1. Sign in to your Google Analytics account.

  2. Click on the Admin button in the bottom left corner of the page.

  3. Click on Property Settings to expand the menu and then click on Data Streams

  4. Click on the web data stream for which you want to find the property ID. This will open up the Web Stream Details window.

  5. The property ID is listed as Measurement ID. Copy this unique identifier for your property.

Update Advanced Ads Settings

Now you need to log into your Indie Site so you can update your tracking settings and add the GA4 property ID.

  1. Hover over Display Ads on the left navigation menu and select Settings.

  2. Click on Tracking at the top of the settings page.

  3. Select Google Analytics as the tracking method.

  4. Enter the property ID you copied from GA4 into the Google Analytics Tracking ID field.

  5. Click Save at the bottom of the page.

Building an Exploration

Log into Google Analytics and navigate to the appropriate GA4 account and property.

  1. Expand the left-hand menu and select Explore

  2. Click the Blank option to create a new exploration

  3. Title your exploration “Display Ad Performance” or similar

You have now created your base exploration, but you will need to add dimensions, metrics, and segments. Under the variables section, provide the dimensions, metrics, and segments required for this exploration.

  1. Click the + beside Dimensions and select the following:

    • Custom > Advanced Ads

    • Event > Event Name

    • Optional: Time > Month

    • Click Import

    • Once imported, click the Select Dimension button under Rows and include the variable for Advanced Ads

    • Optional: You can also include Month, if you do this make sure you turn the Nested Rows option to Yes

    • Click Select Dimension under Columns and include the variable for Event Name

  2. Click the + beside Metrics and select the following:

    • User > Total User

    • Click Import

    • Once imported, click the Select Metric button under Values and include the variable for Total Users

Segmenting Your Exploration

To view ad performance metrics, you will need to build a Segment. A segment is a subset of your analytical data that can be used in Explorations. A segment you create or modify will only be available in the exploration in which you defined it.

  1. Click the + to create a New Segment

  2. Select the Event Segment, the Segment Build window will appear

  3. Enter a name for the segment, i.e. Advanced Ads Segment

  4. Click Add New Condition to specify the selection criteria, in this case it will be Custom > Advanced Ads

  1. Under Contains, start typing the name of the ad you want to report on

  2. If you have multiple ads you want to report on, click OR to add an additional line to the segment

  3. Click Save and your exploration will refresh

Note: The SAVE button will be grayed out until you enter at least one complete condition (i.e. both the Condition and Contains section are filled out).

Adjust the Time Frame

Explorations allow you to select a specific time frame to report on. To change the time frame of an exploration:

  1. At the top of Variables, click the currently selected date range

  2. Select a preset date range or use the calendar to select a custom range

  3. Click OK

Updating a Segment

Explorations are saved and can be run and modified as needed. Similar to the time frame above, you can adjust your segment to include new/different data. In Google Analytics, navigate to the existing Exploration that you want to modify.

  1. Open the Exploration

  2. Hover your cursor over the existing segment and click the three dots to the right

  3. Click Edit.

  4. A warning window will appear that says, “You are editing a segment. This segment is currently in use. Editing it will refresh the data in this exploration,” click Edit Segment

  5. Follow the steps under Segmenting Your Exploration to add new lines to your existing segment. You can also modify existing lines or delete them entirely.

Sharing An Exploration

When you first create an Exploration, only you can see it. You can share your insights with your colleagues by sharing the Exploration. To do so, in the upper right, click Share Exploration (you must have the Analyst role at a minimum to do this).

Note: Shared Explorations can be viewed, but not edited, by anyone who has the Viewer role to the property. In order to edit an Exploration, a user must duplicate or copy the shared Exploration.

Did this answer your question?