removed google analytics default from sigal
This commit is contained in:
parent
1b9d4ffc66
commit
d0b1fb2c90
1 changed files with 0 additions and 13 deletions
|
@ -1,13 +0,0 @@
|
|||
{% if settings.google_analytics %}
|
||||
<script>
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', '{{ settings.google_analytics }}']);
|
||||
_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>
|
||||
{% endif %}
|
Loading…
Reference in a new issue