WordPress plugin intelligence profile

Track a click on Google Analytics

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

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.6
Current version0.4
WordPress coverageTested up to WordPress 4.6
Minimum stackWP 2.5.0 · PHP —
Directory statusactive
Last directory update1 Sept 201610y ago
Active installations10Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Track a click on Google Analytics version 0.4 as active, updated 10y ago and tested up to WordPress 4.6.

Overview

About this plugin

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?

com/analytics/devguides/collection/analyticsjs/events) on Google Analytics which capture events like a link click into your Google Analytics Dashboard.

g.

Download Free Ebook

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?

pdf" category="Downloads" action="Click" label="Ebook Downloaded"]Download Free Ebook[/tac_ga]

By default this shortcode uses the following information:

Category: link

Action: click

Label: The URL Entered

How do I check if this works

Google Analytics’ Real time tab will show you that these tags would or not.

Some cases in which this shortcode won’t work:

* You use Google Tag Manager to insert Google Analytics

* You use Monster Insights Plugin (Formerly Yoast’s Google Analytics Plugin) to install Google Analytics

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • click tracking
  • event tracking
  • google analytics
  • link click
  • link tracking
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.6

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.6.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.6
Minimum requirementsWordPress 2.5.0 · PHP not listed
Update activity1 Sept 201610y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.