Update doc analytics

This commit is contained in:
Michael
2020-07-03 12:03:18 +02:00
parent 564ca502a4
commit 9a6a3aebd4
2 changed files with 12 additions and 6 deletions
+1 -5
View File
@@ -26,11 +26,7 @@ theme:
prev: 'Previous'
next: 'Next'
copyright: "Copyright © 2016-2019 Containous"
google_analytics:
- 'UA-51880359-3'
- 'docs.traefik.io'
copyright: "Copyright © 2016-2020 Containous"
extra_css:
- assets/styles/extra.css # Our custom styles
+11 -1
View File
@@ -1,5 +1,15 @@
{% extends "base.html" %}
{% block analytics %}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NMWC63S');</script>
<!-- End Google Tag Manager -->
{% endblock %}
{% block footer %}
{% import "partials/language.html" as lang with context %}
@@ -34,4 +44,4 @@
</div>
</footer>
{% endblock %}
{% endblock %}