Skip to content

Commit be5c1dd

Browse files
committed
adding google analytics support
1 parent 4c8d413 commit be5c1dd

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@
3232

3333
<script src="https://unpkg.com/docsify-copy-code@2"></script>
3434
<script src="https://unpkg.com/docsify-share/build/index.min.js"></script>
35+
36+
<!-- Global site tag (gtag.js) - Google Analytics -->
37+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-N33EXB3XSY"></script>
38+
<script>
39+
window.dataLayer = window.dataLayer || [];
40+
function gtag() { dataLayer.push(arguments); }
41+
gtag('js', new Date());
42+
43+
gtag('config', 'G-N33EXB3XSY');
44+
</script>
3545
</body>
3646

3747
</html>

0 commit comments

Comments
 (0)