src/hdalab/templates/google_analytics/analytics_template.html
author cavaliet
Mon, 16 Jun 2014 17:11:32 +0200
changeset 266 825ff4d6a8ac
parent 170 web/hdalab/templates/google_analytics/analytics_template.html@cb3e869ab252
child 627 3fd558fa38b1
permissions -rw-r--r--
reorganise folders and update venv dependancies (django, etc...)

<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>