Merge pull request #896 from influxdata/update-google-analytics

Updated Google Tag Manager and head partials
pull/902/head
Scott Anderson 2020-03-31 11:19:32 -06:00 committed by GitHub
commit 18c00edb28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 16 deletions

View File

@ -2,7 +2,7 @@
<!doctype html>
<html lang="en">
<head>
{{ partial "header/google-analytics.html" }}
{{ partial "header/google-analytics-head.html" }}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
{{ if in .RelPermalink "/cloud/"}}
@ -16,12 +16,11 @@
{{ partial "header/canonical.html" . }}
{{ partial "header/stylesheets.html" }}
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:500,500i,700,700i|Rubik:400,400i,500,500i,700,700i" rel="stylesheet">
{{ partial "header/google-fonts.html" }}
{{ partial "header/javascript.html" }}
<meta name="Copyright" content="InfluxData Inc." />
</head>
<body>
{{ partial "header/google-analytics-body.html" }}
{{ partial "topnav.html" . }}

View File

@ -0,0 +1,5 @@
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WXRH9C" height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->

View File

@ -0,0 +1,7 @@
<!-- 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-WXRH9C');</script>
<!-- End Google Tag Manager -->

View File

@ -1,12 +0,0 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-45024174-12"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-45024174-12');
</script>
<!-- Site Verification -->
<meta name="google-site-verification" content="_V6CNhaIIgVsTO9max_ECw7DUfPL-ZGE7G03MQgEGMU" />

View File

@ -0,0 +1 @@
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:500,500i,700,700i|Rubik:400,400i,500,500i,700,700i" rel="stylesheet">