Track a click on Google Analytics WordPress Plugin Skip to content
Track a click on Google Analytics icon

WordPress plugin

Track a click on Google Analytics

A simple shortcode to insert Google Analytics event tracking code on your links

By Alexander Gounder10+ active installs5.0 out of 5
Active installs
10+
Rating
5.0 / 5
Version
0.4
Last updated
Sep 1, 2016
Tested up to
WordPress 4.6.30
Requires
WP 2.5.0

Health check

Is Track a click on Google Analytics safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

No update in over a year

Last updated on September 1, 2016. It may not be compatible with current WordPress or PHP, and unfixed issues are a security risk.

Not yet tested with the latest WordPress

Tested up to WordPress 4.6.30. It often still works, but check on staging first.

Few ratings so far

Only 1 ratings on WordPress.org, so the average is not yet a reliable signal.

Rank tracker

Where Track a click on Google Analytics ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for Track a click on Google Analytics
KeywordPositionChangeTrendCurrent #1
click tracking
event tracking
google analytics
link click
link tracking
track a click

Checked against the top 100 WordPress.org search results.

Overview

What Track a click on Google Analytics does

Are you using UTM Source to track link clicks within your website?

That’s a really bad idea! Not only will it create a new session with the links utm_source and inflate your visitor stats, it will also increase the bounce rate on the page you’re tracking.

So what’s the solution?

Use [event tracking] (https://developers.google.com/analytics/devguides/collection/analyticsjs/events) on Google Analytics which capture events like a link click into your Google Analytics Dashboard.

But then the WordPress Visual Editor will keep cleaning out the onClick part, so we made a quick shortcode that would save you from the trouble of redoing the onClick part everytime it got cleaned out.

How does it work?

In place of an A href tag like <a onClick="ga('send', 'event', 'Downloads', 'Click', 'Ebook downloaded', '0');" href="http://example.com/wp-content/uploads/2015/06/free-ebook.pdf">Download Free Ebook</a> use our shortcode [tac_ga url="http://example.com/wp-content/uploads/2015/06/free-ebook.pdf" category="Downloads" action="Click" label="Ebook Downloaded"]Download Free Ebook[/tac_ga]

Description from the author's listing. Read the full listing on WordPress.org

FAQ

Track a click on Google Analytics: questions and answers

What is Track a click on Google Analytics?

Track a click on Google Analytics is a WordPress plugin by Alexander Gounder. A simple shortcode to insert Google Analytics event tracking code on your links

Is Track a click on Google Analytics free?

Track a click on Google Analytics is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use Track a click on Google Analytics?

WordPress.org reports 10+ active installations of Track a click on Google Analytics. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is Track a click on Google Analytics still maintained?

Track a click on Google Analytics was last updated on September 1, 2016. The current version is 0.4. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does Track a click on Google Analytics require?

Track a click on Google Analytics requires WordPress 2.5.0 or newer. It has been tested up to WordPress 4.6.30.

Can Codefreex set up or customize Track a click on Google Analytics?

Yes. Codefreex installs, configures and customizes WordPress plugins including Track a click on Google Analytics, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need Track a click on Google Analytics set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us