src/hdalab/templates/google_analytics/async_analytics_template.html
changeset 266 825ff4d6a8ac
parent 170 cb3e869ab252
child 668 f66c544255e1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/hdalab/templates/google_analytics/async_analytics_template.html	Mon Jun 16 17:11:32 2014 +0200
@@ -0,0 +1,6 @@
+<script>
+var _gaq=[['_setAccount','{{ analytics_code }}'],['_trackPageview']];
+(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
+g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
+s.parentNode.insertBefore(g,s)}(document,'script'));
+</script>
\ No newline at end of file