testing new analytics service

This commit is contained in:
Tommi 2021-12-14 23:41:30 +01:00
parent d0000a81a5
commit 49bc1d4802
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@
<meta property="og:article:published_time" content="{{ page.date | date_to_xmlschema }}" />
<meta property="og:locale:alternate" content="{% if page.lang == 'it' %}en{% else %}it{% endif %}" />
<!-- Plausible analytics -->
<!-- Analytics -->
<script async defer data-domain="quitsocialmedia.club" src="https://visits.quitsocialmedia.club/js/index.js"></script>
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"tommi",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>