Skip to content

Commit

Permalink
Replace Google Analytics for Plausible (#293)
Browse files Browse the repository at this point in the history
Replace Google Analytics for Plausible to make our docs more
privacy-friendly.
  • Loading branch information
santisoler authored Jan 21, 2022
1 parent 2f09c6a commit d211e43
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,8 @@
{% extends "!layout.html" %}

{% block extrahead %}
<!-- Google Analytics tracking code -->
<script>
(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','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-38125837-1', 'auto', {'storage': 'none'});
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
<!-- Plausible analytics for anonymous usage statistics -->
<script defer data-domain="fatiando.org" src="https://plausible.io/js/plausible.js"></script>
{% endblock %}


Expand Down

0 comments on commit d211e43

Please sign in to comment.