Skip to content

Commit ebc5e9f

Browse files
authored
web/templates: remove google analytics
1 parent 371c10c commit ebc5e9f

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

explainshell/web/templates/base.html

-22
Original file line numberDiff line numberDiff line change
@@ -65,28 +65,6 @@
6565
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>
6666
{%- endif %}
6767
<script src="/static/js/es.js"></script>
68-
{% if not config.DEBUG -%}
69-
<script>
70-
if (window.doNotTrack !== '1') {
71-
(function (i, s, o, g, r, a, m) {
72-
i['GoogleAnalyticsObject'] = r;
73-
i[r] = i[r] || function () {
74-
(i[r].q = i[r].q || []).push(arguments)
75-
}, i[r].l = 1 * new Date();
76-
a = s.createElement(o),
77-
m = s.getElementsByTagName(o)[0];
78-
a.async = 1;
79-
a.src = g;
80-
m.parentNode.insertBefore(a, m)
81-
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
82-
83-
ga('create', 'UA-43455040-1', 'explainshell.com');
84-
ga('send', 'pageview');
85-
} else {
86-
function ga() {}
87-
}
88-
</script>
89-
{%- endif %}
9068
{%- block js %}{% endblock %}
9169
</body>
9270
</html>

0 commit comments

Comments
 (0)