mirror of
https://github.com/minio/docs.git
synced 2025-07-24 10:22:32 +03:00
Add Google Tag Manager (#560)
This commit is contained in:
@ -4,27 +4,23 @@
|
||||
{# Custom CSS overrides #}
|
||||
|
||||
{% block extrahead %}
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-56860620-1"></script>
|
||||
<!-- Google Tag Manager -->
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'UA-56860620-1');
|
||||
(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-TWQNHTD');
|
||||
</script>
|
||||
|
||||
<!-- Crazy egg analytics script -->
|
||||
<script type="text/javascript" src="//script.crazyegg.com/pages/scripts/0088/9671.js" async="async"></script>
|
||||
|
||||
<!-- Lucky Orange analytics script -->
|
||||
<script type='text/javascript'>
|
||||
window.__lo_site_id = 226538;
|
||||
(function() {
|
||||
var wa = document.createElement('script'); wa.type = 'text/javascript'; wa.async = true;
|
||||
wa.src = 'https://d10lpsik1i8c69.cloudfront.net/w.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wa, s);
|
||||
}
|
||||
)();
|
||||
<!-- Google Analytics -->
|
||||
<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','https://www.google-analytics.com/analytics.js','ga');
|
||||
ga('create', 'UA-56860620-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
|
||||
{{ super() }}
|
||||
|
Reference in New Issue
Block a user