{"id":4060,"date":"2017-10-05T08:44:22","date_gmt":"2017-10-05T08:44:22","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=4060"},"modified":"2020-05-07T11:20:18","modified_gmt":"2020-05-07T11:20:18","slug":"add-alexa-certify-tracking-code-amp","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/add-alexa-certify-tracking-code-amp\/","title":{"rendered":"How to add Alexa Certify tracking code in AMP"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote\"><p>This is for the Experimental, Their is no word about the implementation from Alexa.<\/p><\/blockquote>\n\n\n\n<p>So many users are reporting us for the Alexa Support. So, we&#8217;ve checked the code which Alexa provide for non-amp version and they&nbsp;provide some script which is not allowed in AMP.<\/p>\n\n\n\n<p>And we came up a solution to add this code by using amp markup. So, Please add this code in the Footer Section option, You will find this option in&nbsp;<strong>AMP option panel<\/strong>&nbsp;-&gt;&nbsp;<strong>Settings<\/strong>&nbsp;-&gt;&nbsp;<strong>Advanced settings-<\/strong>&nbsp;&gt;&nbsp;<strong>Enter HTML in Footer.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/footer.png\"><img decoding=\"async\" loading=\"lazy\" width=\"1318\" height=\"540\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/footer.png\" alt=\"\" class=\"wp-image-10519\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/footer.png 1318w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/footer-300x123.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/footer-768x315.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/footer-1024x420.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/footer-50x20.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/footer-60x25.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/footer-100x41.png 100w\" sizes=\"(max-width: 1318px) 100vw, 1318px\" \/><\/a><\/figure>\n\n\n\n<p>Here is the Code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;HTML&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;html&quot;}\">&lt;amp-pixel src=&quot;https:\/\/d5nxst8fruw4z.cloudfront.net\/atrk.gif?account=PASTE_ALEXA_ACCOUNT_ID&quot; layout=&quot;nodisplay&quot;&gt;&lt;\/amp-pixel&gt;\n<\/pre><\/div>\n\n\n\n<p>Please&nbsp;<strong>paste your Alexa Account ID<\/strong>&nbsp;in the above the code.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/Alexa-code.jpg\"><img decoding=\"async\" loading=\"lazy\" width=\"600\" height=\"92\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/Alexa-code.jpg\" alt=\"Add Alexa Account ID\" class=\"wp-image-4073\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/Alexa-code.jpg 600w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/Alexa-code-300x46.jpg 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/Alexa-code-50x8.jpg 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/Alexa-code-60x9.jpg 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/10\/Alexa-code-100x15.jpg 100w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>If that fixes the issue then please comment below on the article.<\/p>\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>This is for the Experimental, Their is no word about the implementation from Alexa. So many users are reporting us for the Alexa Support. So, we&#8217;ve checked the code which Alexa provide for non-amp version and they&nbsp;provide some script which is not allowed in AMP. And we came up a&#8230;<\/p>\n","protected":false},"author":6,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[34],"ht-kb-tag":[113,136],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/4060"}],"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\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=4060"}],"version-history":[{"count":28,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/4060\/revisions"}],"predecessor-version":[{"id":17277,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/4060\/revisions\/17277"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=4060"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=4060"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=4060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}