Skip to content

Commit 7904300

Browse files
committed
Add analytics
1 parent da168e2 commit 7904300

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

examples/index.html

+10
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,16 @@ <h2>Contacts list example</h2>
156156
}
157157
}
158158
</style>
159+
160+
<!-- Global site tag (gtag.js) - Google Analytics -->
161+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-122030606-1"></script>
162+
<script>
163+
window.dataLayer = window.dataLayer || [];
164+
function gtag() { dataLayer.push(arguments); }
165+
gtag('js', new Date());
166+
167+
gtag('config', 'UA-122030606-1');
168+
</script>
159169
</body>
160170

161171
</html>

0 commit comments

Comments
 (0)