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 the another, local, tracking methods. However, if you want to use Analytics tracking in addition to another method, switch to that and add the following line to your wp-config.php .


After activating Google Analytics tracking and saving the options, you will find another field in the setting where you can set your Analytics account ID.

Analytics ID setting

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 implementation of the tracking 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.

What else you need to know

  • You can track up to 20 ads per page impression. Find all updated limits on this page
  • Tracking ad impressions and clicks works with the “old” and the new Universal Analytics
  • Tracking only works on pages where Analytics is used. E.g., it would not work if you use the ad code in a newsletter
  • Clicks are not tracked for JavaScript-based ads and ad networks like Google AdSense
  • Clicks and impressions are not tracked on AMP pages
  • You can share Google Analytics ad reports with your customers