PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/hyde/layouts/starter/layout/ga.j2

http://github.com/hyde/hyde
Jinja | 13 lines | 10 code | 3 blank | 0 comment | 0 complexity | 10af558a9b903420cbcc439e13c9ae7c MD5 | raw file
 1<script type="text/javascript">
 2
 3  var _gaq = _gaq || [];
 4  _gaq.push(['_setAccount', '{{ site.meta.ga_tracking_code }}']);
 5  _gaq.push(['_trackPageview']);
 6
 7  (function() {
 8    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
 9    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
10    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
11  })();
12
13</script>