mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-03 19:15:54 +00:00
PT-2205 Added Google Tag Manager to documentation (#618)
modified: config/sphinx-build/_static/_templates/theme/layout.html
This commit is contained in:

committed by
GitHub

parent
501e4cd568
commit
dd7b001a9c
@@ -3,11 +3,16 @@
|
||||
|
||||
{# Adds Google Analytics events on button click. #}
|
||||
{%- block extrahead %}
|
||||
<script>
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-343802-3']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
</script>
|
||||
<!-- 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-WBVF48V');</script>
|
||||
<!-- End Google Tag Manager --><!-- Google Tag Manager (noscript) -->
|
||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WBVF48V"
|
||||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
<!-- End Google Tag Manager (noscript) -->
|
||||
{{ super() }}
|
||||
{%- endblock %}
|
||||
|
||||
|
Reference in New Issue
Block a user