The Advanced Ads Tracking add-on allows tracking impressions and clicks with Google Analytics. It supports both the “old” Universal Analytics (UA) and the new Google Analytics 4.
Tracking ads with Google Analytics allows you to combine this data with other metrics to optimize your ads.
It also takes the pressure of tracking, especially impression tracking, in your local database from your server and saves performance.
Table of Contents
Activate the ad tracking for Google Analytics
To use ad tracking with Google Analytics, go to Advanced Ads > Settings > Tracking and set the tracking method to Google Analytics.
Then, enter your tracking ID. The ID structure differs depending on whether you use Google Analytics 4 or Google Analytics (UA) for tracking. It is possible to send the tracking data to multiple Google Analytics properties if you enter the related IDs and separate them with commas.
Please note that your website must have the Google Analytics code to ensure the tracking works. You can use a dedicated plugin to embed this code or insert it with Advanced Ads into your website’s header.
The Google Analytics option in Advanced Ads will let the plugin fire the appropriate Analytics events.
How to find the property ID in Google Analytics 4
To find the property ID for Google Analytics 4, you will need to follow these steps:
- Sign in to your Google Analytics account.
- Click on the Admin button in the bottom left corner of the page.
- In the “Property” column, select the property for which you want to find the property ID.
- In the “Property” column, click on Data Streams.
- Click on the web data stream name for which you want to find the property ID.
- The property ID will be listed on the page as “Measurement ID”. This unique identifier for your property is used when setting up your website’s Google Analytics tracking code.
Alternatively, you can also check the Measurement ID in the Google Tag Manager container, where you have set up the GA4 tracking.
Tracking locally and with Google Analytics at the same time
If you want to combine the benefits of local tracking methods with those from Google Analytics, you can also enable Google Analytics tracking additionally.
- Switch to that local method and save the settings
- Add the following line to your wp-config.php
define( 'ADVANCED_ADS_TRACKING_FORCE_ANALYTICS', true );
Code language: JavaScript (javascript)
- Reload the Tracking settings page
- Enter your Google Analytics publisher ID in the appropriate field and save the settings
If you have set up the tracking with Google Analytics as an additional method and want to disable it again, please do not forget to remove this entry from your wp-config.php
.
Analyze ad impressions and clicks in Universal Analytics
To analyze impressions or clicks in Google Analytics, switch to your account and go to Behavior > Events > Top Events. As soon as Google Analytics tracks ad impressions or clicks, you should see Advanced Ads in the Event Category list.
Now, click on Advanced Ads. You will see the number of all impressions and clicks in the given period on the following view in the Event Action column.
If your website runs in another language, it might be a translation of the words impressions and clicks that you can see on this screenshot.

After you click on either impressions or clicks, you will get a list sorted by your ad units in the Event Label column.
Clicking on a specific ad unit leads you to the report for this particular ad in the given period. You can use the Secondary Dimension to group this data with other information to learn more about these events.
In this way, you can determine, for example, the landing pages of those visitors who ended up clicking on your ads.
Furthermore, you can combine impressions and click events with numerous other data, e.g., the page on which visitors made these clicks, the traffic source, the device, the geolocation, etc.
Testing Analytics tracking
To test if your tracking implementation works, go to Real-Time > Events and the Events (Last 30 min) tab after performing some activity on your page. Impressions and maybe clicks should appear here.
If you just switched on tracking with Analytics, it may take up to 24 hours before impressions and clicks are also shown in Behavior > Events > Overview.
Resources for ad tracking with Google Analytics (UA)
- How to share custom Google Analytics ad reports with your clients
- How to automatically calculate the click-through rates of your ads via GoogleSheets
Analyze ad impressions and clicks in Google Analytics 4
To retrieve the ad tracking results in Google Analytics 4, you must create a custom dimension first.
This dimension is required for these numbers to show up in your reports. Without this dimension, you won’t see any data from Advanced Ads in your reports.
Create a custom dimension
Open your Google Analytics dashboard and navigate to Admin > Custom definitions > Create custom dimensions.
Fill in the following information:
- Dimension name:
Advanced Ads
(customizable) - Description:
Advanced Ads event label
(customizable) - Scope:
Event
(important) - User Property/Parameter:
event_label
(important)
Event reports
Afterward, you can find the clicks and impressions of your ads in Google Analytics 4. Google stores them as events in different places in the reports.
One day after adding this custom dimension, Google Analytics automatically adds an “Advanced Ads” widget to the detailed Impressions and Clicks event reports.
You can find this data under Engagement > Events and read the ad-specific results there. But as I said, it takes until the next day to see anything there.

Don’t be confused that if you add the dimension and choose it in the reports, you will see only the result “(not set)” in the related column. Tracking the ad unit names will start after creating the custom dimension.
So you cannot see this data earlier. Also, reconstructing old data before making the Custom Dimension is not possible.
Combine clicks and impressions with other data
To analyze the ad performance of different posts and pages, you can find the corresponding data in the Engagement > Page and screens report.
You can select Impressions under “Event count” in the corresponding table.
Then, choose the clicks in the conversions column next to it. In this view, Google Analytics shows the data for all ads summarized and not ad-specific.
You can also display the number of impressions and clicks in other reports like User Acquisition, Traffic Acquisition, Demographic Details, and Tech Details.
See recorded clicks and impressions for specific ads
To see the impressions and clicks of a specific ad unit:
- Navigate to Reports > Engagement > Events.
- Use the filter function at the top of the screen.
- Include the custom dimension Advanced Ads and select one of your ads in the appearing dropdown menu. You can also utilize this filter function to select multiple ads in this view.
After applying your filter settings, Google Analytics will update the data table. Use the sharing option to download this report as a PDF file or to copy a shareable direct link to this report to your clipboard.
Detailed click analysis
You can find the tracked clicks if you open the report in Engagement > Conversions.
You can now group this data with other metrics. For example, you can choose user-related data such as geolocation, device, browser, or language.
But you can also merge website-related information, e.g., group clicks, with the landing page or the page from which a user made the click.

Instead of the Page path and screen report, you can also display the names of your ad units in this view.
Choose Custom (Event-scoped) > Advanced Ads from the popup selection.
Analytics quotas and limits
Google Analytics limits the number of events like ad impressions and clicks you can send to them.
You should check the hits and limits on your website using this tool before switching to the Analytics method and then regularly while using it. This public Data Studio report is dedicated to Universal Analytics (UA) properties.
You can find the current limits on this page and shortlisted below:
- The limit for hits per page load is 20. Every second, this limit increases by 2. Hits include page impressions, ad impressions, ad clicks, and other custom events. Google Analytics does not count hits related to e-commerce here.
- There is an overall limit of 500 hits per session. The hits that exceed this limit will not be processed.
- The monthly hit limit is 10 million per property. Tip: You could create a new property to track ad impressions only.
What else do you need to know about ad tracking with Google Analytics?
If you choose Google Analytics as the tracking method, the local tracking methods are disabled. That’s why some features of local tracking methods are unavailable in this case.
These limitations include email reports with statistics, click and impressions limits, the option to spread impressions evenly over a given period, and the opportunity to track clicks and impressions on external pages or newsletters.
The ad tracking only works on pages that contain the Analytics code. E.g., it would not work if you integrated the ad code in a newsletter or on other websites delivered with the ad server placement.