{"id":17593,"date":"2020-07-21T12:46:08","date_gmt":"2020-07-21T12:46:08","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=17593"},"modified":"2020-07-22T05:24:47","modified_gmt":"2020-07-22T05:24:47","slug":"how-to-add-ga-form-submission-tracking-in-amp","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-add-ga-form-submission-tracking-in-amp\/","title":{"rendered":"How to add GA form submission goal tracking in AMP"},"content":{"rendered":"\n<p>It allows you to add&nbsp; 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&nbsp;<\/strong>First, you need to purchase and install&nbsp;the<strong>&nbsp;<a href=\"https:\/\/ampforwp.com\/addons\/conversion-goals-tracking-for-amp\/\">Conversion Goals Tracking for AMP<\/a><\/strong> &nbsp;plugin.<\/p>\n\n\n\n<p><strong>Here are the steps:<\/strong><\/p>\n\n\n\n<ol><li>Download and Install&nbsp; <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&nbsp;<strong>WordPress Dashboard<\/strong>&nbsp;-&gt;&nbsp;<strong>AMP option panel<\/strong>&nbsp;-&gt;&nbsp; <strong>Settings -&gt; Analytic&nbsp; -&gt;<\/strong>Enable<strong>&nbsp;\u201cConversion Tracking for GA\u201d&nbsp;<\/strong>option -&gt; Click on the &#8220;<strong>Add<\/strong>&#8221; button -&gt; Select &#8220;<strong>Form Submission<\/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=\"1021\" height=\"316\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-3.png\" alt=\"\" class=\"wp-image-17595\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-3.png 1021w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-3-300x93.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-3-768x238.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-3-50x15.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-3-60x19.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-3-100x31.png 100w\" sizes=\"(max-width: 1021px) 100vw, 1021px\" \/><\/figure>\n\n\n\n<p><strong>Step 3 \u2013<\/strong>  Once you click on the &#8220;<strong>Go<\/strong>&#8221; button two options will be displayed \u201c <strong>All Forms<\/strong> \u201d and \u201c <strong>Specific Forms<\/strong> \u201d as per your requirement you can select those options and then click on the \u201c<strong>Save Changes<\/strong>\u201d button. <\/p>\n\n\n\n<p><strong>Option 1 &#8211; All Forms:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"829\" height=\"538\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-4.png\" alt=\"\" class=\"wp-image-17603\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-4.png 829w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-4-300x195.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-4-768x498.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-4-50x32.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-4-60x39.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-4-100x65.png 100w\" sizes=\"(max-width: 829px) 100vw, 829px\" \/><\/figure>\n\n\n\n<ul><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>Option 2 &#8211; Specific Forms:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"832\" height=\"583\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-5.png\" alt=\"\" class=\"wp-image-17608\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-5.png 832w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-5-300x210.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-5-768x538.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-5-50x35.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-5-60x42.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/a-5-100x70.png 100w\" sizes=\"(max-width: 832px) 100vw, 832px\" \/><\/figure>\n\n\n\n<ul><li><strong>Form ID:<\/strong> Here you have placed the class or Id name which triggers form submission general for amp forms it will be <strong>amp-form-submit-success<\/strong><\/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\/Form_tracking-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&nbsp; 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&nbsp;First, you need to purchase and install&nbsp;the&nbsp;Conversion Goals Tracking for AMP &nbsp;plugin. 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\/17593"}],"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=17593"}],"version-history":[{"count":12,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17593\/revisions"}],"predecessor-version":[{"id":17623,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17593\/revisions\/17623"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=17593"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=17593"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=17593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}