Skip to content

Commit

Permalink
manually add yandex metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
stCarolas committed Feb 7, 2024
1 parent 28d383e commit daddbf7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
17 changes: 17 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,21 @@ title: "Open Donation Assistant"
<div class="column-gap-3 d-flex display-6 justify-content-center mb-3">
{{< paige/icon class="bi bi-github" title="GitHub" url="https://github.com/OpenDonationAssistant" >}}
{{< paige/icon class="bi bi-discord" title="Discord" url="https://discord.gg/PnCEcjfc7b" >}}

<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(96296405, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true
});
</script>

<noscript><div><img src="https://mc.yandex.ru/watch/96296405" style="position:absolute; left:-9999px;" alt="" /></div></noscript>

</div>
7 changes: 1 addition & 6 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ weight = 50

[markup.goldmark.renderer]
unsafe = true

[paige.menu]
style = "tabs"

[paige.analytics]
disable = false

[paige.analytics.yandex] # See https://metrica.yandex.com
account_id = "96296405"

0 comments on commit daddbf7

Please sign in to comment.