Skip to content

Commit 4c05586

Browse files
authored
Add Google Analytics (#485)
1 parent fef033a commit 4c05586

File tree

1 file changed

+10
-0
lines changed
  • CodeBeam.MudBlazor.Extensions.Docs.Wasm/wwwroot

1 file changed

+10
-0
lines changed

CodeBeam.MudBlazor.Extensions.Docs.Wasm/wwwroot/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@
3232
<script src="_framework/blazor.webassembly.js"></script>
3333
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
3434
<script src="_content/CodeBeam.MudBlazor.Extensions/MudExtensions.min.js"></script>
35+
36+
<!-- Google tag (gtag.js) -->
37+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-D4FKK70N92"></script>
38+
<script>
39+
window.dataLayer = window.dataLayer || [];
40+
function gtag() { dataLayer.push(arguments); }
41+
gtag('js', new Date());
42+
43+
gtag('config', 'G-D4FKK70N92');
44+
</script>
3545
</body>
3646

3747
</html>

0 commit comments

Comments
 (0)