src/hdalab/templates/google_analytics/async_analytics_template.html
author rougeronj
Mon, 02 Mar 2015 18:10:47 +0100
changeset 470 d5b166da842d
parent 266 825ff4d6a8ac
child 668 f66c544255e1
permissions -rw-r--r--
update design for "domaines artstiques" pages. Show 9 categories and possibility to show the 9 others
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
170
cb3e869ab252 Add google analytics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<script>
cb3e869ab252 Add google analytics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
var _gaq=[['_setAccount','{{ analytics_code }}'],['_trackPageview']];
cb3e869ab252 Add google analytics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
cb3e869ab252 Add google analytics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
cb3e869ab252 Add google analytics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
s.parentNode.insertBefore(g,s)}(document,'script'));
cb3e869ab252 Add google analytics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
</script>