Skip to content

Commit a087566

Browse files
committed
CXX-1889 add analytics
1 parent 01f2696 commit a087566

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/themes/mongodb/layouts/partials/assets/analytics.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,13 @@
2020
else if (window.attachEvent) window.attachEvent('onload', async_load);
2121
})();
2222
</script>
23+
24+
<!-- Global site tag (gtag.js) - Google Analytics -->
25+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-7301842-14"></script>
26+
<script>
27+
window.dataLayer = window.dataLayer || [];
28+
function gtag(){dataLayer.push(arguments);}
29+
gtag('js', new Date());
30+
31+
gtag('config', 'UA-7301842-14');
32+
</script>

0 commit comments

Comments
 (0)