Skip to content

Commit

Permalink
Swaps away from Google Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
andyljones committed Jul 25, 2020
1 parent 9690189 commit ef8cc58
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{% extends "!layout.html" %}

{% block extrahead %}
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-48268620-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-48268620-1');
</script>
<!-- Tracking pageviews is really useful to me to see what kind of stuff
I've done is useful to people. But I'm keen to not to track any more than
that, and so this is a minimal solution. It's a self-hosted matomo tracking
pixel with IP anonymization and no-tracking-preference compliance. It gives
me no more information than the server logs would, if I could actually
access github-pages' server logs. Your data will not be shared with anyone,
and I will be the only person to ever look at the stats. -->
<img src="live.andyljones.com/mat/mat.php?idsite=1&amp;rec=1" style="border:0" alt=""/>
{{ super() }}
{% endblock %}
{% endblock %}

0 comments on commit ef8cc58

Please sign in to comment.