src/hdalab/templates/google_analytics/analytics_template.html
author cavaliet
Wed, 16 Jul 2014 15:15:50 +0200
changeset 293 b33caeba7faa
parent 266 825ff4d6a8ac
child 627 3fd558fa38b1
permissions -rw-r--r--
profile page first step

<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{{ analytics_code }}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>