Skip to content

Commit 2a9fd9f

Browse files
committed
adding google analytics support
1 parent 61769ce commit 2a9fd9f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/index.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,17 @@
3030
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
3131

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

3646
</html>

0 commit comments

Comments
 (0)