{"id":22766,"date":"2013-04-09T14:40:19","date_gmt":"2013-04-09T14:40:19","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ga-link-tracker\/"},"modified":"2014-09-04T13:53:04","modified_gmt":"2014-09-04T13:53:04","slug":"ga-link-tracker","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/ga-link-tracker\/","author":11975638,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.2","stable_tag":"trunk","tested":"4.0.38","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"GA Link Tracker","header_author":"PROJECT107","header_description":"","assets_banners_color":"","last_updated":"2014-09-04 13:53:04","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.project107.net","header_plugin_uri":"http:\/\/project107.net\/GA-Link-Tracker","header_author_uri":"http:\/\/project107.net","rating":3.7,"author_block_rating":0,"active_installs":10,"downloads":2458,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[232,1486,1005,13210,175],"plugin_category":[36,40],"plugin_contributors":[89826],"plugin_business_model":[],"class_list":["post-22766","plugin","type-plugin","status-publish","hentry","plugin_tags-analytics","plugin_tags-events","plugin_tags-google-analytics","plugin_tags-link-tracker","plugin_tags-links","plugin_category-analytics","plugin_category-calendar-and-events","plugin_contributors-project107","plugin_committers-project107"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ga-link-tracker.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A tiny WordPress plugin to track events of link clicks in the main content area of the site. Install it and forget about it.<\/p>\n\n<p>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.<\/p>\n\n<p>Example of code added to properly formed URLs in main post content:<\/p>\n\n<pre><code>&lt;a onclick=\"ga('send', 'event', 'Links', 'click', 'http:\/\/twitter.com\/chris_dickow');\" href=\"http:\/\/twitter.com\/chris_dickow\"&gt;@chris_dickow&lt;\/a&gt;\n<\/code><\/pre>\n\n<p>The above example assumes the href of the link is: <code>http:\/\/www.myurl.com\/my_blog\/my_link.html<\/code><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>GA-Link-Tracker.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>All done!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I configure this?<\/dt>\n<dd><p>Short answer: You don't. There are no configurable options to this script, as it simply appends event tracker behavior to your links.<\/p><\/dd>\n<dt>What other data does it collect?<\/dt>\n<dd><p>None.<\/p><\/dd>\n<dt>What else does it do?<\/dt>\n<dd><p>Nothing.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>v2.2 - Fixed conflict with abbr tag<\/p>\n\n<p>v2.1 - Minor bugfix<\/p>\n\n<p>v2.0 - Updated to use Google's newer analyitcs.js file<\/p>\n\n<p>v1.0 - Initial release.<\/p>","raw_excerpt":"A tiny WordPress plugin to track events of link clicks in the main content area of the site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/22766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=22766"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/project107"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=22766"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=22766"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=22766"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=22766"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=22766"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=22766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}