Updated Google Analytics script

This commit is contained in:
Bernardo Damele A. G. 2024-10-27 10:20:58 +01:00 committed by GitHub
parent 03c198997a
commit bfb345f92b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,15 +152,13 @@ Warning: SQLite3::exec(): near "": syntax error in index.php on line 19
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-5076660-1");
pageTracker._trackPageview();
} catch(err) {}
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PK2GTNDFZ6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-PK2GTNDFZ6');
</script>
</body>