equal
deleted
inserted
replaced
1 <script type="text/javascript"> |
1 <script> |
2 var _gaq = _gaq || []; |
2 if( $.cookieAccepted() ) { |
3 _gaq.push(['_setAccount', '{{ analytics_code }}']); |
3 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
4 _gaq.push(['_trackPageview']); |
4 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
5 (function() { |
5 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
6 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
6 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
7 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
7 |
8 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
8 ga('create', '{{ analytics_code }}', 'auto'); |
9 })(); |
9 ga('send', 'pageview'); |
|
10 } |
10 </script> |
11 </script> |