1 {% if site.google_analytics %}
2 <!-- Google Analytics -->
3 <script type=
"text/javascript">
6 _gaq
.push(['_setAccount', '{{ site.google_analytics }}']);
7 _gaq
.push(['_trackPageview']);
10 var ga
= document
.createElement('script'); ga
.type
= 'text/javascript'; ga
.async
= true;
11 ga
.src
= ('https:' == document
.location
.protocol
? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
12 var s
= document
.getElementsByTagName('script')[0]; s
.parentNode
.insertBefore(ga
, s
);