{"id":17662,"date":"2020-07-25T08:56:32","date_gmt":"2020-07-25T08:56:32","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=17662"},"modified":"2020-07-25T11:19:12","modified_gmt":"2020-07-25T11:19:12","slug":"cors-policy-issue-in-google-tag-manager","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/cors-policy-issue-in-google-tag-manager\/","title":{"rendered":"Cors policy issue in Google Tag Manager"},"content":{"rendered":"\n<p>Sometimes you will get CORS policy issues in Google Tag Manager because you have not published the GTM AMP Container and due to this you will get CORS issues, So please keep in mind that you published the AMP container<\/p>\n\n\n\n<p>You can verify the container installation and troubleshoot any issues with the Preview function found by clicking the arrow beside Publish in the top right corner of the main dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"770\" height=\"482\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/Preview-1.jpg\" alt=\"\" class=\"wp-image-17663\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/Preview-1.jpg 770w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/Preview-1-300x188.jpg 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/Preview-1-768x481.jpg 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/Preview-1-50x31.jpg 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/Preview-1-60x38.jpg 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/07\/Preview-1-100x63.jpg 100w\" sizes=\"(max-width: 770px) 100vw, 770px\" \/><\/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>Sometimes you will get CORS policy issues in Google Tag Manager because you have not published the GTM AMP Container and due to this you will get CORS issues, So please keep in mind that you published the AMP container You can verify the container installation and troubleshoot any issues&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[164],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17662"}],"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=17662"}],"version-history":[{"count":8,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17662\/revisions"}],"predecessor-version":[{"id":17671,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17662\/revisions\/17671"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=17662"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=17662"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=17662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}