Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
859abde759
commit
a56810bc31
1 changed files with 12 additions and 0 deletions
|
@ -104,4 +104,16 @@ function formatCanonicalURL(url: string | URL) {
|
||||||
document.addEventListener('astro:page-load', () => {
|
document.addEventListener('astro:page-load', () => {
|
||||||
nprogress.done()
|
nprogress.done()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
var _paq = window._paq = window._paq || [];
|
||||||
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||||
|
_paq.push(['trackPageView']);
|
||||||
|
_paq.push(['enableLinkTracking']);
|
||||||
|
(function() {
|
||||||
|
var u="https://stats.ptr.moe/";
|
||||||
|
_paq.push(['setTrackerUrl', u+'86eff12f2496']);
|
||||||
|
_paq.push(['setSiteId', '1']);
|
||||||
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||||
|
g.async=true; g.src=u+'dd168412e25a.js'; s.parentNode.insertBefore(g,s);
|
||||||
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue