Skip to content

Commit

Permalink
Replace Yandex.Metrika counter (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
fng3r authored Jul 9, 2024
1 parent 7172bb6 commit 8c93410
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions haxball_site/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (m, e, t, r, i, k, a) {
m[i] = m[i] || function () {
(m[i].a = m[i].a || []).push(arguments)
};
m[i].l = 1 * new Date();
k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");

ym(96287121, "init", {
clickmap: true,
trackLinks: true,
accurateTrackBounce: true,
webvisor: true
});
ym(97769152, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true
});
</script>
<noscript>
<div><img src="https://mc.yandex.ru/watch/96287121" style="position:absolute; left:-9999px;" alt=""/></div>
</noscript>
<noscript><div><img src="https://mc.yandex.ru/watch/97769152" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->

<meta charset="UTF-8">
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="{% static "bootstrap/css/bootstrap.min.css" %}">
Expand Down

0 comments on commit 8c93410

Please sign in to comment.