change google trace code

This commit is contained in:
liangping
2021-10-15 18:52:30 +08:00
parent 9f44ccfbf0
commit 87ab3d9815
4 changed files with 10 additions and 8 deletions
+9
View File
@@ -34,5 +34,14 @@
</div>
<div id="app"></div>
<!-- built files will be auto injected -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-238887-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-238887-1');
</script>
</body>
</html>