{"id":17792,"date":"2020-09-12T12:49:52","date_gmt":"2020-09-12T12:49:52","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=17792"},"modified":"2020-09-12T12:56:13","modified_gmt":"2020-09-12T12:56:13","slug":"how-to-set-up-v2-method-of-amp-optin","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-set-up-v2-method-of-amp-optin\/","title":{"rendered":"How to Set-up V2 Method of Amp Optin"},"content":{"rendered":"\n<p>If you want to add Mailchimp v2&nbsp; form in AMP then first you need to purchase and install&nbsp;<a href=\"https:\/\/ampforwp.com\/opt-in-forms\/\">Opt-in Forms for AMP<\/a>&nbsp;plugin.<\/p>\n\n\n\n<p><strong>Step 1: <\/strong>After installing you will find this option in&nbsp;<strong>WordPress Dashboard<\/strong>&nbsp;-&gt;&nbsp;<strong>AMP optin<\/strong>&nbsp;-&gt;&nbsp;<strong>Add New optin<\/strong>&nbsp;-&gt; select \u201c&nbsp;<strong>Mailchimp<\/strong> <strong>v2<\/strong>&nbsp;\u201d option -&gt; now you need <strong>API Key<\/strong> for this click the &#8220;<strong>Click Here<\/strong>&#8221; link like below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"414\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/optin-222-1024x414.png\" alt=\"\" class=\"wp-image-17794\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/optin-222-1024x414.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/optin-222-300x121.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/optin-222-768x310.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/optin-222-50x20.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/optin-222-60x24.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/optin-222-100x40.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/optin-222.png 1045w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 2: <\/strong>Once you click it will redirect to the API setting page. Here you will get Mailchimp API Key for this click <a rel=\"noreferrer noopener\" href=\"https:\/\/login.mailchimp.com\/?referrer=%2Faccount%2Fapi%2F\" target=\"_blank\">Get your API key here<\/a> link. Copy your Mailchimp API key and paste in here and then click on the &#8220;<strong>Validate API key<\/strong>&#8221; button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"862\" height=\"245\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/1.png\" alt=\"\" class=\"wp-image-17796\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/1.png 862w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/1-300x85.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/1-768x218.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/1-50x14.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/1-60x17.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/1-100x28.png 100w\" sizes=\"(max-width: 862px) 100vw, 862px\" \/><\/figure>\n\n\n\n<p><strong>Step 3: <\/strong>Once your API key validates here you can see the List option. here a list of options available as per your requirement you can select and then copy the shortcode and place where you want to display the MailChimp v2 Form.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"316\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/3-1-1024x316.png\" alt=\"\" class=\"wp-image-17799\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/3-1-1024x316.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/3-1-300x93.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/3-1-768x237.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/3-1-50x15.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/3-1-60x19.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/3-1-100x31.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/3-1.png 1167w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 id=\"the-output-of-mailchimp-form-in-amp\"><strong>The output of&nbsp; Mailchimp<\/strong> v2&nbsp;<strong>Form in AMP:<\/strong><\/h4>\n\n\n\n<p>Make sure you need to fill this form and then click on the submit button after that you will get the \u201c<strong>Subscription successful<\/strong>\u201d message.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/7-1024x484.png\" alt=\"\" class=\"wp-image-7771\" width=\"594\" height=\"281\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/7-1024x484.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/7-300x142.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/7-768x363.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/7-50x24.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/7-60x28.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/7-100x47.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/7.png 1164w\" sizes=\"(max-width: 594px) 100vw, 594px\" \/><\/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>If you want to add Mailchimp v2&nbsp; form in AMP then first you need to purchase and install&nbsp;Opt-in Forms for AMP&nbsp;plugin. Step 1: After installing you will find this option in&nbsp;WordPress Dashboard&nbsp;-&gt;&nbsp;AMP optin&nbsp;-&gt;&nbsp;Add New optin&nbsp;-&gt; select \u201c&nbsp;Mailchimp v2&nbsp;\u201d option -&gt; now you need API Key for this click the &#8220;Click&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[29],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17792"}],"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=17792"}],"version-history":[{"count":4,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17792\/revisions"}],"predecessor-version":[{"id":17801,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17792\/revisions\/17801"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=17792"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=17792"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=17792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}