Skip to content

Commit

Permalink
Remove Google Analytics surveillance tooling (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
resynth1943 authored Jun 6, 2020
1 parent 48ed18d commit 011a2d4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,5 @@ <h2 class="project-tagline">{{ site.description | default: site.github.project_t
</footer>
</section>


{% if site.google_analytics %}
<script type="text/javascript">
(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', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
</body>
</html>

0 comments on commit 011a2d4

Please sign in to comment.