Skip to content

Commit

Permalink
web/templates: remove google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
idank committed Aug 31, 2021
1 parent 371c10c commit ebc5e9f
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions explainshell/web/templates/base.html
Expand Up @@ -65,28 +65,6 @@
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>
{%- endif %}
<script src="/static/js/es.js"></script>
{% if not config.DEBUG -%}
<script>
if (window.doNotTrack !== '1') {
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

ga('create', 'UA-43455040-1', 'explainshell.com');
ga('send', 'pageview');
} else {
function ga() {}
}
</script>
{%- endif %}
{%- block js %}{% endblock %}
</body>
</html>

0 comments on commit ebc5e9f

Please sign in to comment.