remove gtags
authorAntonio Valentino <antonio.valentino@tiscali.it>
Sun, 22 Apr 2018 16:32:56 +0000 (16:32 +0000)
committerAntonio Valentino <antonio.valentino@tiscali.it>
Tue, 8 Dec 2020 09:02:17 +0000 (09:02 +0000)
Remove Google Analytics script from the doc template layout to
avoid privacy-breach-generic.

Gbp-Pq: Name 0004-remove-gtags.patch

doc/source/_templates/layout.html

index f47665b7aca693e5ee736285fd56d27873f5b4da..03b028f25bc53561fdf6d4c868ecb9999233e178 100644 (file)
@@ -2,14 +2,4 @@
 
 {%- block extrahead %}
 {{ super() }}
-<!-- Global site tag (gtag.js) - Google Analytics -->
-<script async src="https://www.googletagmanager.com/gtag/js?id=UA-111342564-1"></script>
-<script>
-  window.dataLayer = window.dataLayer || [];
-  function gtag(){dataLayer.push(arguments);}
-  gtag('js', new Date());
-
-  gtag('config', 'UA-111342564-1');
-</script>
-
 {% endblock %}