add google analytics

This commit is contained in:
zu1k
2020-08-20 09:39:17 +08:00
parent 1e10be9153
commit 35c6d1348b
3 changed files with 27 additions and 0 deletions

View File

@@ -115,5 +115,14 @@
</div>
</div>
</div>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DC6CR61FHE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-DC6CR61FHE');
</script>
</body>
</html>

View File

@@ -126,5 +126,14 @@
</div>
</div>
</div>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DC6CR61FHE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-DC6CR61FHE');
</script>
</body>
</html>

View File

@@ -82,5 +82,14 @@
</div>
</div>
</div>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DC6CR61FHE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-DC6CR61FHE');
</script>
</body>
</html>