Table of Contents
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.
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 .
define( 'ADVANCED_ADS_TRACKING_FORCE_ANALYTICS', true );
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.
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.
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.
An example report for impressions of a single ad might look like below.
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
- You can share Google Analytics ad reports with your customers