Browse Source

add in google analytics

pull/1/head
Brett Langdon 11 years ago
parent
commit
4342e090d3
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      templates/layout.jade

+ 7
- 0
templates/layout.jade View File

@ -34,3 +34,10 @@ html(lang='en')
p © #{ new Date().getFullYear() } #{ locals.owner } — powered by  p © #{ new Date().getFullYear() } #{ locals.owner } — powered by 
a(href='https://github.com/jnordberg/wintersmith') Wintersmith a(href='https://github.com/jnordberg/wintersmith') Wintersmith
//- please leave the "powered by" if you use the design //- please leave the "powered by" if you use the design
script(type='text/javascript').
(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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-43062483-1', 'auto');
ga('send', 'pageview');

Loading…
Cancel
Save