= yandex.metrika.jade fix error; + yandex.metrika.js;
This commit is contained in:
1 parent
eb9f56d1e3
commit
57dfdd6f72
2 files changed
+6
-23
No files matched your search
@@ -3,29 +3,11 @@
|
||||
//- img(src='//bs.yandex.ru/informer/24027460/3_1_FFFFFFFF_EFEFEFFF_0_pageviews', style='width: 88px; height: 31px; border: 0;', alt='Яндекс.Метрика', title='Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)', onclick='try{Ya.Metrika.informer({i:this,id:24027460,lang:\'ru\'});return false}catch(e){}')
|
||||
//- //Yandex.Metrika informer
|
||||
|
||||
//Yandex.Metrika counter
|
||||
script(type='text/javascript')
|
||||
(function (d, w, c) {
|
||||
(w[c] = w[c] || []).push(function() {
|
||||
try {
|
||||
w.yaCounter24027460 = new Ya.Metrika({id:24027460,
|
||||
webvisor:true,
|
||||
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 = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
|
||||
if (w.opera == "[object Opera]") {
|
||||
d.addEventListener("DOMContentLoaded", f, false);
|
||||
} else { f(); }
|
||||
})(document, window, "yandex_metrika_callbacks");
|
||||
// Yandex.Metrika counter
|
||||
|
||||
script
|
||||
include yandex.metrika.js
|
||||
noscript
|
||||
div
|
||||
img(src='//mc.yandex.ru/watch/24027460', style='position: absolute; left: -9999px;', alt='')
|
||||
//Yandex.Metrika counter
|
||||
// Yandex.Metrika counter
|
||||
@@ -0,0 +1 @@
|
||||
(function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter24027460 = new Ya.Metrika({id:24027460, webvisor:true, 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 = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js"; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "yandex_metrika_callbacks");
|
||||
Reference in new issue
Block a user