[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f_LvB6M3CbsKuk0Sb3qZO8p8bBpHihLuQOBaPKmV615w":3},{"slug":4,"display_name":5,"profile_url":6,"plugin_count":7,"total_installs":8,"avg_security_score":9,"avg_patch_time_days":10,"trust_score":11,"computed_at":12,"plugins":13},"gounder","Alexander Gounder","https:\u002F\u002Fprofiles.wordpress.org\u002Fgounder\u002F",1,10,85,30,84,"2026-04-04T19:05:41.167Z",[14],{"slug":15,"name":16,"version":17,"author":5,"author_profile":6,"description":18,"short_description":19,"active_installs":8,"downloaded":20,"rating":21,"num_ratings":7,"last_updated":22,"tested_up_to":23,"requires_at_least":24,"requires_php":25,"tags":26,"homepage":32,"download_link":33,"security_score":9,"vuln_count":34,"unpatched_count":34,"last_vuln_date":35,"fetched_at":36},"track-a-click-on-google-analytics","Track a click on Google Analytics","0.4","\u003Cp>\u003Cstrong>Are you using UTM Source to track link clicks within your website?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>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.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>So what’s the solution?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Use [event tracking] (https:\u002F\u002Fdevelopers.google.com\u002Fanalytics\u002Fdevguides\u002Fcollection\u002Fanalyticsjs\u002Fevents) on Google Analytics which capture events like a link click into your Google Analytics Dashboard.\u003C\u002Fp>\n\u003Cp>For e.g.\u003Cbr \u002F>\n    \u003Ca href=\"http:\u002F\u002Fexample.com\u002Fwp-content\u002Fuploads\u002F2015\u002F06\u002Ffree-ebook.pdf\" rel=\"nofollow ugc\">Download Free Ebook\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>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.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>How does it work?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>In place of an A href tag like \u003Ccode>\u003Ca onClick=\"ga('send', 'event', 'Downloads', 'Click', 'Ebook downloaded', '0');\" href=\"http:\u002F\u002Fexample.com\u002Fwp-content\u002Fuploads\u002F2015\u002F06\u002Ffree-ebook.pdf\">Download Free Ebook\u003C\u002Fa>\u003C\u002Fcode> use our shortcode \u003Ccode>[tac_ga url=\"http:\u002F\u002Fexample.com\u002Fwp-content\u002Fuploads\u002F2015\u002F06\u002Ffree-ebook.pdf\" category=\"Downloads\" action=\"Click\" label=\"Ebook Downloaded\"]Download Free Ebook[\u002Ftac_ga]\u003C\u002Fcode>\u003C\u002Fp>\n\u003Cp>By default this shortcode uses the following information:\u003Cbr \u002F>\nCategory: link\u003Cbr \u002F>\nAction: click\u003Cbr \u002F>\nLabel: The URL Entered\u003C\u002Fp>\n\u003Cp>\u003Cstrong>How do I check if this works\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Google Analytics’ Real time tab will show you that these tags would or not.\u003C\u002Fp>\n\u003Cp>\u003Cem>Some cases in which this shortcode won’t work:\u003C\u002Fem>\u003Cbr \u002F>\n* You use Google Tag Manager to insert Google Analytics\u003Cbr \u002F>\n* You use Monster Insights Plugin (Formerly Yoast’s Google Analytics Plugin) to install Google Analytics\u003C\u002Fp>\n","A simple shortcode to insert Google Analytics event tracking code on your links",1955,100,"2016-09-01T03:00:00.000Z","4.6.30","2.5.0","",[27,28,29,30,31],"click-tracking","event-tracking","google-analytics","link-click","link-tracking","https:\u002F\u002Fwww.inkmyweb.com\u002Fwordpress\u002Ftrack-click-google-analytics-wordpress-shortcode-plugin","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Ftrack-a-click-on-google-analytics.zip",0,null,"2026-03-15T15:16:48.613Z"]