Skip to content

Commit

Permalink
Add Google Analytics tracking tag to documentation site
Browse files Browse the repository at this point in the history
To find out who is using or interested in this library
  • Loading branch information
oseiskar committed Jun 15, 2019
1 parent 969cb7c commit 139183f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{% extends "!layout.html" %}

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

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

0 comments on commit 139183f

Please sign in to comment.