Skip to content

Commit 18c8166

Browse files
authored
Replace Google Analytics for Plausible (#358)
Replace Google Analytics for Plausible one to make our docs more privacy-friendly.
1 parent 8bdb785 commit 18c8166

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

doc/_templates/layout.html

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,8 @@
22
{% extends "!layout.html" %}
33

44
{% block extrahead %}
5-
<!-- Google Analytics tracking code -->
6-
<script>
7-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
8-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
9-
Date();a=s.createElement(o),
10-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
11-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
12-
13-
ga('create', 'UA-38125837-1', 'auto', {'storage': 'none'});
14-
ga('set', 'anonymizeIp', true);
15-
ga('send', 'pageview');
16-
</script>
5+
<!-- Plausible analytics for anonymous usage statistics -->
6+
<script defer data-domain="fatiando.org" src="https://plausible.io/js/plausible.js"></script>
177
{% endblock %}
188

199

0 commit comments

Comments
 (0)