src/hdalab/templates/google_analytics/analytics_template.html
author ymh <ymh.work@gmail.com>
Wed, 30 Jul 2014 14:57:51 +0200
changeset 306 e091c7ea3f90
parent 266 825ff4d6a8ac
child 627 3fd558fa38b1
permissions -rw-r--r--
readd django_wsgi and correct ref of hdalab in hdabo, again

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