File: 0001-Remove-google-analytics.patch

package info (click to toggle)
pycsw 2.6.1%2Bdfsg-2
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm
  • size: 11,076 kB
  • sloc: xml: 38,300; python: 11,330; makefile: 179; sh: 3
file content (28 lines) | stat: -rw-r--r-- 816 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Remove google analytics
Author: Johan Van de Wauw <johan.vandewauw@gmail.com>
Forwarded: not-needed

--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -3,21 +3,6 @@
 {%- block extrahead %}
 {{ super() }}
 
-<script type="text/javascript">
-
-  var _gaq = _gaq || [];
-  _gaq.push(['_setAccount', 'UA-32855587-1']);
-  _gaq.push(['_setDomainName', 'pycsw.org']);
-  _gaq.push(['_trackPageview']);
-
-  (function() {
-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-  })();
-
-</script>
-
 {% endblock %}
 
 {% block relbar1 %}