= yandex.metrika.jade fix error; + yandex.metrika.js;
This commit is contained in:
1 parent
eb9f56d1e3
commit
57dfdd6f72
2 files changed
+4
-21
No files matched your search
@@ -4,27 +4,9 @@
|
|||||||
//- //Yandex.Metrika informer
|
//- //Yandex.Metrika informer
|
||||||
|
|
||||||
// Yandex.Metrika counter
|
// Yandex.Metrika counter
|
||||||
script(type='text/javascript')
|
|
||||||
(function (d, w, c) {
|
script
|
||||||
(w[c] = w[c] || []).push(function() {
|
include yandex.metrika.js
|
||||||
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
|
noscript
|
||||||
div
|
div
|
||||||
img(src='//mc.yandex.ru/watch/24027460', style='position: absolute; left: -9999px;', alt='')
|
img(src='//mc.yandex.ru/watch/24027460', style='position: absolute; left: -9999px;', alt='')
|
||||||
|
|||||||
@@ -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