Repository: incubator-edgent-website
Updated Branches:
  refs/heads/master 6d60cc9e1 -> 1e15e9b77


Added Google analytics tracking info to header template.


Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/commit/1e15e9b7
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/tree/1e15e9b7
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/diff/1e15e9b7

Branch: refs/heads/master
Commit: 1e15e9b7718bb8936d63e2fce6f07fc9c145553c
Parents: 6d60cc9
Author: Will Marshall <[email protected]>
Authored: Tue Jan 3 21:17:27 2017 -0800
Committer: Will Marshall <[email protected]>
Committed: Tue Jan 3 21:17:27 2017 -0800

----------------------------------------------------------------------
 site/_includes/head.html | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/1e15e9b7/site/_includes/head.html
----------------------------------------------------------------------
diff --git a/site/_includes/head.html b/site/_includes/head.html
index ac0f84c..c3d9e1b 100755
--- a/site/_includes/head.html
+++ b/site/_includes/head.html
@@ -19,6 +19,19 @@
 <script src="../js/toc.js"></script>
 <script src="../js/customscripts.js"></script>
 <link rel="shortcut icon" href="../common_images/favicon.ico" 
type="image/x-icon">
+
+<!-- Add google analytics tracking info -->
+<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-89864500-1', 'auto');
+  ga('send', 'pageview');
+
+</script>
+
 <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries 
-->
 <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
 <!--[if lt IE 9]>
@@ -32,4 +45,4 @@
 
 
 
- 
\ No newline at end of file
+ 

Reply via email to