- This topic has 4 replies, 2 voices, and was last updated 7 years, 3 months ago by sergey.
-
AuthorPosts
-
July 7, 2017 at 5:00 am #118778sergeyParticipant
Namaste! I can not add a counter to my site xn--108-iddybtxbgw3cxi.xn--p1ai.
I try to add a counter code in footer.php, and with footer text vidget, but the counter did not appear.
Thank you!
Sergey.The code of the counter
<!– Yandex.Metrika informer –>
<a href=”https://metrika.yandex.ru/stat/?id=37401770&from=informer”
target=”_blank” rel=”nofollow”><img src=”https://informer.yandex.ru/informer/37401770/3_1_EFEFEFFF_EFEFEFFF_0_pageviews”
style=”width:88px; height:31px; border:0;” alt=”Яндекс.Метрика” title=”Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)” class=”ym-advanced-informer” data-cid=”37401770″ data-lang=”ru” />
<!– /Yandex.Metrika informer –><!– Yandex.Metrika counter –>
<script type=”text/javascript”>
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter37401770 = new Ya.Metrika({
id:37401770,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true
});
} catch(e) { }
});var n = d.getElementsByTagName(“script”)[0],
s = d.createElement(“script”),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = “text/javascript”;
s.async = true;
s.src = “https://mc.yandex.ru/metrika/watch.js”;if (w.opera == “[object Opera]”) {
d.addEventListener(“DOMContentLoaded”, f, false);
} else { f(); }
})(document, window, “yandex_metrika_callbacks”);
</script>
<noscript><div></div></noscript>
<!– /Yandex.Metrika counter –>July 7, 2017 at 6:39 am #118789tikaramParticipant@sergey: Namaste. I checked your site and it seems like the counter is working on your site. Its below copyright.
Regards,
TikaramJuly 8, 2017 at 4:21 am #118832sergeyParticipantThank you, Tikaram, but I used wordpress plugin to make it, therefore I can not see the informer block in my site, so it works just as a counter only. But I need everybody can see the counter informer in the footer of my site. And I could not to make it with vidget or footer.php (the counter work, but I can not see it in the footer).
July 10, 2017 at 3:08 am #118878tikaramParticipant@sergey: Can you please visit the link and check that the counter is displayed at the footer of your site. https://prnt.sc/ftr370. Is this what you wanted or something different ? let me know
Regards,
TikaramJuly 14, 2017 at 11:31 am #119195sergeyParticipantThank you Tikaram!
In Opera brouser I can not see it, but in chrome I can.
Now It is OK, no problem 🙂 -
AuthorPosts
- The topic ‘how to add a counter code?’ is closed to new replies.