Ad Logger

Logs clicks about AdSense or other iframe adverts and buttons.

Author:reviewmylife (profile at
WordPress version required:3.0.0
WordPress version tested:3.2.1
Plugin version:
Added to WordPress repository:28-09-2011
Last updated:19-10-2011
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:
Total downloads:7 063
Active installs:40+
plugin download
Click to start download

Ad Logger from advancedhtml logs data about iframe clicks – it can log clicks from Google AdSense, Amazon Affiliates, Facebook Likes, Twitter Tweet button, and Google’s +1 button. It does this without modifying your ad code – it uses other accessible events to estimate when the ad has been clicked. This method is about 80% accurate.

It logs the page, IP, browser, referrer, and dimensions of the clicked iframe to your MySQL database. You can then get reports showing which pages generated the most clicks, where clicking visitors came from, and who is clicking your ads the most. The data and reports are loaded using AJAX so you can browse the data without refreshing the UI.

Logs clicks without modifying the iframe

No modifications are made to your adverts/iframes which should (hopefully) enable you to use Ad Logger without breaking any TOS from your ad provider.

AJAX table reports

You can view the raw log information in a table, and also view summary reports showing which pages were most clicked, which IPs did the most clicking, what types of ads were most clicked and more.

You can also filter the results. e.g. you can click on the arrow next to an IP address and you’ll see all the clicks that came from that IP address.

Block AdSense ads if too many clicks appear – basic click bombing protection

If you insert your AdSense ads using Ad Injection you can configure Ad Logger to block these ads if too many clicks come from the same person within a set time frame.

This feature uses JavaScript and cookies, so it won’t function if these are turned off, of if your website readers turn their cookies off.

Dynamically remove ads – basic click bombing protection

Ad Logger can dynamically hide a named div after the click count is reached (i.e. the ads would dissapear from the current page without the page having to be re-loaded). These divs will stay hidden on subsequent page loads for the click detection expiry time.


Reporting bugs

If you do get any errors please use the ‘Report a bug or give feedback’ link on the plugin to send me the error details. If things go so badly wrong that you can’t even get to the settings page please send me an email via this contact form.