Skip to content

Commit ce69f92

Browse files
committed
incldue google tracking
1 parent a57d84f commit ce69f92

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

example/public/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,14 @@
3838
To create a production bundle, use `npm run build` or `yarn build`.
3939
-->
4040
<!-- Place this tag in your head or just before your close body tag. -->
41+
<!-- Global site tag (gtag.js) - Google Analytics -->
42+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-140316487-1"></script>
43+
<script>
44+
window.dataLayer = window.dataLayer || [];
45+
function gtag(){dataLayer.push(arguments);}
46+
gtag('js', new Date());
47+
48+
gtag('config', 'UA-140316487-1');
49+
</script>
4150
</body>
4251
</html>

0 commit comments

Comments
 (0)