{"id":17575,"date":"2020-07-21T11:55:18","date_gmt":"2020-07-21T11:55:18","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=17575"},"modified":"2020-07-21T13:48:19","modified_gmt":"2020-07-21T13:48:19","slug":"how-to-add-ga-link-tracking-in-amp","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-add-ga-link-tracking-in-amp\/","title":{"rendered":"How to add GA Link tracking in AMP"},"content":{"rendered":"\n<p>It allows you to add\u00a0 Conversion &amp; Goals Tracking in AMP. Using this extension you can easily add multiple links and form submissions conversion &amp; goals tracking to your google analytics.<\/p>\n\n\n\n<p><strong>Step 1 \u2013\u00a0<\/strong>First, you need to purchase and install\u00a0the<strong>\u00a0<a href=\"https:\/\/ampforwp.com\/addons\/conversion-goals-tracking-for-amp\/\">Conversion Goals Tracking for AMP<\/a><\/strong> \u00a0plugin.<\/p>\n\n\n\n<p><strong>Here are the steps:<\/strong><\/p>\n\n\n\n<ol><li>Download and Install\u00a0 <strong>Conversion Goals Tracking for AMP<\/strong>. <\/li><li>Upload and Activate<\/li><li>Done! The <strong>Conversion Goals Tracking for AMP<\/strong> will be visible on the AMP version of your site.<\/li><\/ol>\n\n\n\n<p><strong>Step 2  \u2013<\/strong> You will find this option in\u00a0<strong>WordPress Dashboard<\/strong>\u00a0->\u00a0<strong>AMP option panel<\/strong>\u00a0->\u00a0 <strong>Settings -> Analytic\u00a0 -><\/strong>Enable<strong>\u00a0\u201cConversion Tracking for GA\u201d\u00a0<\/strong>option -> Click on the &#8220;<strong>Add<\/strong>&#8221; button -> Select &#8220;<strong>Link Tracking<\/strong>&#8221; option and then click on the &#8220;<strong>Go<\/strong>&#8221; button like below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"543\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-1-1024x543.png\" alt=\"\" class=\"wp-image-17576\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-1-1024x543.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-1-300x159.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-1-768x407.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-1-50x26.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-1-60x32.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-1-100x53.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-1.png 1219w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p> <strong>Step 3 \u2013<\/strong> Once you click on the &#8220;<strong>Go<\/strong>&#8221; button you need to feel the information like below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"834\" height=\"473\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-2.png\" alt=\"\" class=\"wp-image-17578\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-2.png 834w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-2-300x170.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-2-768x436.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-2-50x28.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-2-60x34.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-2-100x57.png 100w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/figure>\n\n\n\n<ul><li><strong>Link ID:<\/strong> In this filed which id you want to track place that id name here.<\/li><li><strong>Event Name:<\/strong> As per your requirement you can add the event name. <\/li><li><strong>Event Category:<\/strong> Here you have to add the Event Category name which you have placed in your google analytics while setting up the Goal.<\/li><li><strong>Event Action:<\/strong> Here you have to add the Event Action name which you have placed in your google analytics while setting up the Goal.<\/li><\/ul>\n\n\n\n<p><strong>To make it easy, we have created a video also<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/Link_tracking_video-1.mp4\"><\/video><\/figure>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.<\/p>\n<div id=\"div-1\" class=\"hkb-feedback\">\n\t\t\t<strong class=\"ht-mobile-exit__title\">Ask your Questions Directly!<\/strong><br>\n\t\t\t<div class=\"hkb_widget_exit__content\" style=\"font-size: 14px;\">If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!<\/div>\n\t\t\t<a href=\"https:\/\/ampforwp.com\/support\/#contact\" id=\"button\" target=\"_blank\" rel=\"noopener noreferrer\"><button>Yes, I have a Question<\/button><\/a>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>It allows you to add\u00a0 Conversion &amp; Goals Tracking in AMP. Using this extension you can easily add multiple links and form submissions conversion &amp; goals tracking to your google analytics. Step 1 \u2013\u00a0First, you need to purchase and install\u00a0the\u00a0Conversion Goals Tracking for AMP \u00a0plugin. Here are the steps: Download&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[191],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17575"}],"collection":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=17575"}],"version-history":[{"count":19,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17575\/revisions"}],"predecessor-version":[{"id":17610,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17575\/revisions\/17610"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=17575"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=17575"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=17575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}