{"id":17787,"date":"2020-09-12T08:19:09","date_gmt":"2020-09-12T08:19:09","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=17787"},"modified":"2020-09-12T11:53:12","modified_gmt":"2020-09-12T11:53:12","slug":"difference-between-v1-and-v2-method-of-amp-optin","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/difference-between-v1-and-v2-method-of-amp-optin\/","title":{"rendered":"Difference between v1 and v2 method of AMP-Optin"},"content":{"rendered":"\n<p>v1 embedded URL are manually or statically add where as in v2 you have to place only API key and then select your list, No need of getting them embedded URL it dynamically add your list.<\/p>\n\n\n\n<h3><strong>v1 Method:<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"727\" height=\"217\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/10.png\" alt=\"\" class=\"wp-image-17789\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/10.png 727w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/10-300x90.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/10-50x15.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/10-60x18.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/10-100x30.png 100w\" sizes=\"(max-width: 727px) 100vw, 727px\" \/><\/figure>\n\n\n\n<h3>v2 Method:<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"622\" height=\"223\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/11.png\" alt=\"\" class=\"wp-image-17790\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/11.png 622w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/11-300x108.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/11-50x18.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/11-60x22.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/09\/11-100x36.png 100w\" sizes=\"(max-width: 622px) 100vw, 622px\" \/><\/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>v1 embedded URL are manually or statically add where as in v2 you have to place only API key and then select your list, No need of getting them embedded URL it dynamically add your list. v1 Method: v2 Method: That\u2019s it for this tutorial! We hope it helped you&#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\/17787"}],"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=17787"}],"version-history":[{"count":2,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17787\/revisions"}],"predecessor-version":[{"id":17791,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17787\/revisions\/17791"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=17787"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=17787"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=17787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}