diff --git a/templates/layout.jade b/templates/layout.jade index 83c4314..40978eb 100644 --- a/templates/layout.jade +++ b/templates/layout.jade @@ -34,3 +34,14 @@ html(lang='en') p © #{ new Date().getFullYear() } #{ locals.owner } — powered by  a(href='https://github.com/jnordberg/wintersmith') Wintersmith //- please leave the "powered by" if you use the design + + script(type='text/javascript'). + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-34513423-1']); + _gaq.push(['_setDomainName', '.brett.is']); + _gaq.push(['_trackPageview']); + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })();