added google analytics, resolves #5
parent
ce847be877
commit
4c2cccc8b7
|
@ -2,6 +2,7 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{{ partial "header/google-analytics.html" }}
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="description" content="{{ if .Description }}{{ .Description }}. {{ end }}">
|
||||
|
@ -9,11 +10,11 @@
|
|||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
<title>{{ if .Params.seotitle }} {{ print .Params.seotitle " | " }} {{ else if .Title }} {{ print .Title " | " }} {{ end }}InfluxData {{ if $currentVersion }}{{print $currentVersion " " }}{{ end }}Documentation</title>
|
||||
|
||||
{{ partial "header/stylesheets.html"}}
|
||||
{{ partial "header/stylesheets.html" }}
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,700,700i|Titillium+Web:300i,700i|Inconsolata:400,700" rel="stylesheet">
|
||||
|
||||
{{ partial "header/javascript.html"}}
|
||||
{{ partial "header/javascript.html" }}
|
||||
|
||||
<meta name="Copyright" content="InfluxData Inc." />
|
||||
</head>
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
<!-- 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>
|
Loading…
Reference in New Issue