Added GA scripts
Signed-off-by: André Wegmüller <awe@bsiag.com>
diff --git a/features.html b/features.html
index a9957dc..19da3b6 100644
--- a/features.html
+++ b/features.html
@@ -284,12 +284,14 @@
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
- <!-- Google Analytics: change UA-XXXXX-Y to be your site's ID. -->
+ <!-- Global site tag (gtag.js) - Google Analytics -->
+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-29181496-1"></script>
<script>
- // window.ga = function () { ga.q.push(arguments) }; ga.q = []; ga.l = +new Date;
- // ga('create', 'UA-XXXXX-Y', 'auto'); ga('set', 'anonymizeIp', true); ga('set', 'transport', 'beacon'); ga('send', 'pageview')
+ window.dataLayer = window.dataLayer || [];
+ function gtag() { dataLayer.push(arguments); }
+ gtag('js', new Date());
+ gtag('config', 'UA-29181496-1');
</script>
- <script src="https://www.google-analytics.com/analytics.js" async></script>
</body>
diff --git a/index.html b/index.html
index b72abf8..5e45e3c 100644
--- a/index.html
+++ b/index.html
@@ -337,12 +337,14 @@
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
- <!-- Google Analytics: change UA-XXXXX-Y to be your site's ID. -->
+ <!-- Global site tag (gtag.js) - Google Analytics -->
+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-29181496-1"></script>
<script>
- // window.ga = function () { ga.q.push(arguments) }; ga.q = []; ga.l = +new Date;
- // ga('create', 'UA-XXXXX-Y', 'auto'); ga('set', 'anonymizeIp', true); ga('set', 'transport', 'beacon'); ga('send', 'pageview')
+ window.dataLayer = window.dataLayer || [];
+ function gtag() { dataLayer.push(arguments); }
+ gtag('js', new Date());
+ gtag('config', 'UA-29181496-1');
</script>
- <script src="https://www.google-analytics.com/analytics.js" async></script>
</body>
diff --git a/versions.html b/versions.html
index fb69f2d..9af35cd 100644
--- a/versions.html
+++ b/versions.html
@@ -166,12 +166,14 @@
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
- <!-- Google Analytics: change UA-XXXXX-Y to be your site's ID. -->
+ <!-- Global site tag (gtag.js) - Google Analytics -->
+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-29181496-1"></script>
<script>
- // window.ga = function () { ga.q.push(arguments) }; ga.q = []; ga.l = +new Date;
- // ga('create', 'UA-XXXXX-Y', 'auto'); ga('set', 'anonymizeIp', true); ga('set', 'transport', 'beacon'); ga('send', 'pageview')
+ window.dataLayer = window.dataLayer || [];
+ function gtag() { dataLayer.push(arguments); }
+ gtag('js', new Date());
+ gtag('config', 'UA-29181496-1');
</script>
- <script src="https://www.google-analytics.com/analytics.js" async></script>
</body>