-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add yandex and google metrics to docs
- Loading branch information
Deys Timofey
committed
Oct 19, 2023
1 parent
5b25aa2
commit 09c87ba
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- Google tag (gtag.js) --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-46XYNH0Q80"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
|
||
gtag('config', 'G-46XYNH0Q80'); | ||
</script> | ||
|
||
<!-- 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(95307533, "init", { | ||
clickmap:true, | ||
trackLinks:true, | ||
accurateTrackBounce:true, | ||
webvisor:true | ||
}); | ||
</script> | ||
<noscript><div><img src="https://mc.yandex.ru/watch/95307533" style="position:absolute; left:-9999px;" alt="" /></div></noscript> | ||
<!-- /Yandex.Metrika counter --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters