= layout.jade include ya.metrika; + yandex.metrika.jade;

This commit is contained in:
tmshv committed 2014-02-18 19:25:57 +04:00
1 parent 90330cf174
commit eb9f56d1e3
2 files changed
+34 -1

No files matched your search

+3 -1
View File
@@ -6,4 +6,6 @@ html
link(rel="stylesheet", href="/fonts/stylesheet.css")
block custom_head
body
block content
block content
include yandex.metrika.jade
+31
View File
@@ -0,0 +1,31 @@
//- //Yandex.Metrika informer
//- a(href='http://metrika.yandex.ru/stat/?id=24027460&from=informer', target='_blank', rel='nofollow')
//- 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");
noscript
div
img(src='//mc.yandex.ru/watch/24027460', style='position: absolute; left: -9999px;', alt='')
//Yandex.Metrika counter