Skip to content

Commit

Permalink
docs template with analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelzny committed Mar 18, 2018
1 parent f322a2b commit 77e5a8a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/_templates/layout.html
@@ -0,0 +1,14 @@
{% extends "!layout.html" %}

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

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

0 comments on commit 77e5a8a

Please sign in to comment.