Skip to content

Commit a3a175c

Browse files
committed
Add Google Analytics to demo page
We love the stats!
1 parent eccff08 commit a3a175c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

demo/index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@
1616
//# sourceURL=obs.inline.js
1717
</script>
1818

19+
<script src="https://www.googletagmanager.com/gtag/js?id=G-DNCL1RY4GT" async crossorigin></script>
20+
<script>
21+
window.dataLayer = window.dataLayer || [];
22+
function gtag(){dataLayer.push(arguments);}
23+
gtag('js', new Date());
24+
gtag('config', 'G-DNCL1RY4GT');
25+
</script>
26+
1927

2028

2129

0 commit comments

Comments
 (0)