The Tracking add-on allows tracking impressions and clicks with Google Analytics.

Why should you track impressions and clicks in Google Analytics?

Tracking ads with Analytics allows you to combine those data with other metrics and use this to optimize your ads.

It also takes the pressure of tracking especially impressions in your local database from your server, and therefore saves performance.

Activating ad tracking with Analytics

To use ad tracking with Analytics, go to Advanced Ads > Settings > Tracking and set the tracking method to track using Google Analytics.

Analytics tracking method

This method will be used instead of another local tracking method.

You can also enable Google Analytics tracking in addition to a local tracking method:

  1. Switch to that local method and save the settings
  2. Add the following line to your wp-config.php
Code language: JavaScript (javascript)
  1. Reload the Tracking settings page
  2. Enter your Google Analytics publisher ID in the appropriate field and save the settings
Analytics ID setting

If you have set up tracking with Google Analytics as an additional method and want to disable it again, please do not forget to remove the entry from your wp-config.php.

How to analyze ad impressions and clicks in Google Analytics

To analyze impressions or clicks in Analytics, switch to your account and go to Behavior > Events > Overview. As soon as ad impressions or clicks are tracked, you should see Advanced Ads in the Event Category list. This is the number of all impressions and clicks in the given period.

The Event Action report lists impressions and clicks. If your blog runs in another language, it might be a translation of these words listed here.

Ad Tracking in Google Analytics

Click on Event Label to get the list of ads. A click on an ad name leads you to the report for impressions and clicks for this ad in the given period.

Testing Analytics tracking

To test if your tracking implementation works, go to Real-Time > Events and the Events (Last 30 min) tab after you performed 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 showing in Behavior > Events > Overview.

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.

You can find the current limits on this page and in shortlisted below:

  • The limit for hits per page load is 20. Every second, this limit increases by 2. Hits include page impressions, ad impressions and clicks and any other custom events. Hits related to e-commerce are not counted.
  • There is an overall limit of 500 hits per session. 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 you need to know

Tracking ad impressions and clicks works with the “old” Universal Analytics and Google Analytics 4.

But the 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.