Skip to content

Commit 00856bf

Browse files
authored
chore: add google analytics tag (#23)
1 parent f25e91c commit 00856bf

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/index.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,14 @@
2121
<body>
2222

2323
<material-docs-app>Loading...</material-docs-app>
24-
25-
<!-- TODO: google analytics -->
2624
<!-- TODO: google feedback -->
2725
<!-- TODO: twitter widget (but only on pages that use twitter) -->
26+
27+
<script>
28+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
29+
ga('create', 'UA-8594346-24', 'auto');
30+
ga('send', 'pageview');
31+
</script>
32+
<script async src='https://www.google-analytics.com/analytics.js'></script>
2833
</body>
2934
</html>

0 commit comments

Comments
 (0)