0.4.67 connect ya counter
This commit is contained in:
@@ -138,6 +138,7 @@ class Option(BaseModel):
|
||||
verbose_name = _('Параметр')
|
||||
verbose_name_plural = _('Параметры')
|
||||
|
||||
|
||||
class FAQitem(BaseModel):
|
||||
|
||||
content_type = models.ForeignKey(ContentType, on_delete=models.SET_NULL, null=True)
|
||||
|
||||
17
templates/promo/i_counters.html
Normal file
17
templates/promo/i_counters.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!-- 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();
|
||||
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(96435081, "init", {
|
||||
clickmap:true,
|
||||
trackLinks:true,
|
||||
accurateTrackBounce:true,
|
||||
webvisor:true
|
||||
});
|
||||
</script>
|
||||
<noscript><div><img src="https://mc.yandex.ru/watch/96435081" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
||||
<!-- /Yandex.Metrika counter -->
|
||||
@@ -36,5 +36,6 @@
|
||||
|
||||
|
||||
{% include 'blocks/b_footer.html' %}
|
||||
{% include 'promo/i_counters.html' %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user