Title: Track a click on Google Analytics
Author: Alexander Gounder
Published: <strong>सितम्बर 1, 2016</strong>
Last modified: सितम्बर 1, 2016

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/track-a-click-on-google-analytics.svg)

# Track a click on Google Analytics

 [Alexander Gounder](https://profiles.wordpress.org/gounder/) लिखले बारे

[डाउनलोड](https://downloads.wordpress.org/plugin/track-a-click-on-google-analytics.zip)

 * [Details](https://bho.wordpress.org/plugins/track-a-click-on-google-analytics/#description)
 * [समीक्षा](https://bho.wordpress.org/plugins/track-a-click-on-google-analytics/#reviews)
 * [Development](https://bho.wordpress.org/plugins/track-a-click-on-google-analytics/#developers)

 [मदद](https://wordpress.org/support/plugin/track-a-click-on-google-analytics/)

## बिबरन

**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.

For e.g.
 [Download Free Ebook](http://example.com/wp-content/uploads/2015/06/free-ebook.pdf)

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]`

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

## समीक्षा

![](https://secure.gravatar.com/avatar/ac659a7caaf97153b480cffd6769f9b444c0aa8ab6b9882f272fdfa469ec8aaa?
s=60&d=retro&r=g)

### 󠀁[Thank you!](https://wordpress.org/support/topic/thank-you-42/)󠁿

 [mandude](https://profiles.wordpress.org/mandude/) सितम्बर 8, 2016

Nice, sweet and does the job!

 [ Read all 1 review ](https://wordpress.org/support/plugin/track-a-click-on-google-analytics/reviews/)

## Contributors & Developers

“Track a click on Google Analytics” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Alexander Gounder ](https://profiles.wordpress.org/gounder/)
 *   [ Sidmetal98 ](https://profiles.wordpress.org/sidmetal98/)
 *   [ Ink my web ](https://profiles.wordpress.org/inkmyweb/)

[Translate “Track a click on Google Analytics” into your language.](https://translate.wordpress.org/projects/wp-plugins/track-a-click-on-google-analytics)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/track-a-click-on-google-analytics/),
check out the [SVN repository](https://plugins.svn.wordpress.org/track-a-click-on-google-analytics/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/track-a-click-on-google-analytics/)
by [RSS](https://plugins.trac.wordpress.org/log/track-a-click-on-google-analytics/?limit=100&mode=stop_on_copy&format=rss).

## मेटा

 *  Version **0.4**
 *  Last updated **10 years पहिले**
 *  Active installations **10+**
 *  WordPress version ** 2.5.0 चाहे एकरो से ऊपर **
 *  Tested up to **4.6.30**
 *  Language
 * [English (US)](https://wordpress.org/plugins/track-a-click-on-google-analytics/)
 * Tags
 * [click tracking](https://bho.wordpress.org/plugins/tags/click-tracking/)[event tracking](https://bho.wordpress.org/plugins/tags/event-tracking/)
   [google analytics](https://bho.wordpress.org/plugins/tags/google-analytics/)[link tracking](https://bho.wordpress.org/plugins/tags/link-tracking/)
 *  [Advanced View](https://bho.wordpress.org/plugins/track-a-click-on-google-analytics/advanced/)

## रेटिंग्स

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/track-a-click-on-google-analytics/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/track-a-click-on-google-analytics/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/track-a-click-on-google-analytics/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/track-a-click-on-google-analytics/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/track-a-click-on-google-analytics/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/track-a-click-on-google-analytics/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/track-a-click-on-google-analytics/reviews/)

## Contributors

 *   [ Alexander Gounder ](https://profiles.wordpress.org/gounder/)
 *   [ Sidmetal98 ](https://profiles.wordpress.org/sidmetal98/)
 *   [ Ink my web ](https://profiles.wordpress.org/inkmyweb/)

## मदद

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/track-a-click-on-google-analytics/)

## दान

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.instamojo.com/inkmyweb/)