diff options
author | 2016-03-30 13:57:58 +0300 | |
---|---|---|
committer | 2016-03-30 13:57:58 +0300 | |
commit | 2ec326cbe088f3ee5634336e326ae8c3561c7461 (patch) | |
tree | 061422609e92e7c9b91479f198c48cdb0efa425f /scripts/automation/trex_control_plane/doc_stl/_templates | |
parent | 935b711d82845514c30249b8cdd2e9ed6aa11526 (diff) |
add ga to api
Diffstat (limited to 'scripts/automation/trex_control_plane/doc_stl/_templates')
-rw-r--r-- | scripts/automation/trex_control_plane/doc_stl/_templates/layout.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/doc_stl/_templates/layout.html b/scripts/automation/trex_control_plane/doc_stl/_templates/layout.html new file mode 100644 index 00000000..8c1c709c --- /dev/null +++ b/scripts/automation/trex_control_plane/doc_stl/_templates/layout.html @@ -0,0 +1,17 @@ +{% extends "!layout.html" %} + +{% block footer %} +{{ super() }} +<script> + (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', 'UA-75220362-1', 'auto'); + ga('send', 'pageview'); + +</script> +{% endblock %} + + |