GA Link Tracker

A tiny WordPress plugin to track events of link clicks in the main content area of the site.

Author:PROJECT107 (profile at wordpress.org)
WordPress version required:3.3
WordPress version tested:4.0.38
Plugin version:2.2
Added to WordPress repository:09-04-2013
Last updated:04-09-2014
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, %:74
Rated by:3
Plugin URI:http://project107.net/GA-Link-Tracker
Total downloads:1 984
Active installs:20+
plugin download
Click to start download

A tiny WordPress plugin to track events of link clicks in the main content area of the site. Install it and forget about it.

Links will show up under Events in the Analytics site, and will have a category of ‘Links’, a label of ‘PageID: CURRENT_PAGE_URI’, and the value of the href of the link being tracked.

Example of code added to properly formed URLs in main post content:

<a onclick="ga('send', 'event', 'Links', 'click', 'http://twitter.com/chris_dickow');" href="http://twitter.com/chris_dickow">@chris_dickow</a>

The above example assumes the href of the link is: http://www.myurl.com/my_blog/my_link.html


FAQ
ChangeLog