Skip to content

Commit f0a196c

Browse files
committed
Add Google Analytics
1 parent bec93e7 commit f0a196c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/playground/public/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,16 @@
3737
To create a production bundle, use `npm run build` or `yarn build`.
3838
-->
3939
</body>
40+
<!-- Global site tag (gtag.js) - Google Analytics -->
41+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-119462943-1"></script>
42+
<script>
43+
window.dataLayer = window.dataLayer || [];
44+
45+
function gtag() {
46+
dataLayer.push(arguments);
47+
}
48+
49+
gtag('js', new Date());
50+
gtag('config', 'UA-119462943-1');
51+
</script>
4052
</html>

0 commit comments

Comments
 (0)