{"id":16287,"date":"2020-02-11T10:50:20","date_gmt":"2020-02-11T10:50:20","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=16287"},"modified":"2020-02-12T10:24:36","modified_gmt":"2020-02-12T10:24:36","slug":"how-to-add-yandex-metrika-analytics-in-amp","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-add-yandex-metrika-analytics-in-amp\/","title":{"rendered":"How to add Yandex Metrika Analytics in AMP"},"content":{"rendered":"\n<p><strong>In this tutorial, we will show you how to add Yandex Metrika Analytics in AMP for this follow the below steps.<\/strong><\/p>\n\n\n\n<p><strong>Step 1 \u2013<\/strong>&nbsp;First go to the&nbsp;<strong>WordPress Dashboard<\/strong>&nbsp;-&gt;&nbsp;<strong>AMP option panel<\/strong>&nbsp;-&gt;&nbsp;<strong>Settings<\/strong>&nbsp;-&gt;&nbsp;<strong>Analytics<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" loading=\"lazy\" width=\"431\" height=\"422\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/29.png\" alt=\"\" class=\"wp-image-16288\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/29.png 431w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/29-300x294.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/29-50x50.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/29-60x60.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/29-100x98.png 100w\" sizes=\"(max-width: 431px) 100vw, 431px\" \/><\/figure><\/div>\n\n\n\n<p><strong>Step 2 \u2013 Yandex Metrika: <\/strong>Enable this option you need to enter the Yandex Metrika Analytics scroll down a little to see these options<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"886\" height=\"296\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/30.png\" alt=\"\" class=\"wp-image-16289\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/30.png 886w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/30-300x100.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/30-768x257.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/30-50x17.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/30-60x20.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/30-100x33.png 100w\" sizes=\"(max-width: 886px) 100vw, 886px\" \/><\/figure>\n\n\n\n<p> <strong>Step 3 \u2013<\/strong>&nbsp;  Log into your <strong><a href=\"https:\/\/metrica.yandex.com\/about?\">Yandex Metrica<\/a><\/strong>.<\/p>\n\n\n\n<p><strong>Step 4 \u2013<\/strong>&nbsp;  Search for the term &#8220;<strong>counter<\/strong>&#8220;. The counters appear in the search results.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/us-wd.gr-cdn.com\/help\/2019\/07\/Counters_%E2%80%94_Yandex_Metrica-1-1024x287.png\" alt=\"Yandex Metrica settings.\"\/><\/figure>\n\n\n\n<p> <strong>Step 5 \u2013<\/strong>&nbsp;  Copy the Yandex Metrika Analytics ID and paste in this section. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"880\" height=\"235\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/31.png\" alt=\"\" class=\"wp-image-16290\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/31.png 880w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/31-300x80.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/31-768x205.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/31-50x13.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/31-60x16.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/31-100x27.png 100w\" sizes=\"(max-width: 880px) 100vw, 880px\" \/><\/figure>\n\n\n\n<p><strong>Step 6 \u2013<\/strong>&nbsp;&nbsp;Click on the \u201c<strong>Save Changes<\/strong>\u201d button and it will be displayed on your AMP pages.<\/p>\n\n\n\n<p><strong>Step 7 \u2013\u00a0<\/strong>Once you have added then you can also check that in your source code of the AMP pages like this screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"155\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/Desktop-2020-02-11-16-17-24-1024x155.png\" alt=\"\" class=\"wp-image-16294\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/Desktop-2020-02-11-16-17-24-1024x155.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/Desktop-2020-02-11-16-17-24-300x45.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/Desktop-2020-02-11-16-17-24-768x116.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/Desktop-2020-02-11-16-17-24-50x8.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/Desktop-2020-02-11-16-17-24-60x9.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/Desktop-2020-02-11-16-17-24-100x15.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/02\/Desktop-2020-02-11-16-17-24.png 1365w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/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>In this tutorial, we will show you how to add Yandex Metrika Analytics in AMP for this follow the below steps. Step 1 \u2013&nbsp;First go to the&nbsp;WordPress Dashboard&nbsp;-&gt;&nbsp;AMP option panel&nbsp;-&gt;&nbsp;Settings&nbsp;-&gt;&nbsp;Analytics. Step 2 \u2013 Yandex Metrika: Enable this option you need to enter the Yandex Metrika Analytics scroll down a little&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[34],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/16287"}],"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=16287"}],"version-history":[{"count":4,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/16287\/revisions"}],"predecessor-version":[{"id":16334,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/16287\/revisions\/16334"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=16287"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=16287"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=16287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}