Google Analytics site tag

This commit is contained in:
onceupon 2018-11-08 16:05:35 +08:00 committed by GitHub
parent ad9afeaa4d
commit 4017817453
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

9
includes/analytics.html Normal file
View File

@ -0,0 +1,9 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-88670245-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-88670245-2');
</script>