Skip to content

Commit

Permalink
Add Google Analytics tracking for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Jun 13, 2019
1 parent c733bae commit c05d762
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/_templates/layout.html
@@ -0,0 +1,13 @@
{% extends '!layout.html' %}

{% block extrahead %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-128687-29"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-128687-29');
</script>
{% endblock %}

0 comments on commit c05d762

Please sign in to comment.