Browse Source

Adding google analytics identifier

Heather Johnston 7 years ago
parent
commit
339ea31518
1 changed files with 10 additions and 0 deletions
  1. 10 0
      layouts/partials/header.html

+ 10 - 0
layouts/partials/header.html

@@ -2,6 +2,16 @@
 <html>
 <head>
 	<title>hmjStudios llc</title>
+
+    <!-- Global site tag (gtag.js) - Google Analytics -->
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-128069421-1"></script>
+    <script>
+      window.dataLayer = window.dataLayer || [];
+      function gtag(){dataLayer.push(arguments);}
+      gtag('js', new Date());
+      gtag('config', 'UA-128069421-1');
+    </script>
+
     <link href="https://fonts.googleapis.com/css?family=Raleway|Pacifico" rel="stylesheet">
     <link rel="apple-touch-icon-precomposed" sizes="57x57" href="/favicons/apple-touch-icon-57x57.png" />
     <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/favicons/apple-touch-icon-114x114.png" />