We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5657514 commit 50278bcCopy full SHA for 50278bc
templates/monogame/partials/theme.tmpl.partial
@@ -1,3 +1,13 @@
1
+<!-- Google tag (gtag.js) -->
2
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-38431038-1"></script>
3
+<script>
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+
8
+ gtag('config', 'UA-38431038-1');
9
+</script>
10
11
<script>
12
const theme = localStorage.getItem('theme') || 'auto'
13
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
0 commit comments