src/hdalab/templates/google_analytics/async_analytics_template.html
changeset 271 8f77cf71ab02
parent 170 cb3e869ab252
child 668 f66c544255e1
equal deleted inserted replaced
265:73f19fa4f997 271:8f77cf71ab02
       
     1 <script>
       
     2 var _gaq=[['_setAccount','{{ analytics_code }}'],['_trackPageview']];
       
     3 (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
       
     4 g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
       
     5 s.parentNode.insertBefore(g,s)}(document,'script'));
       
     6 </script>