diff options
Diffstat (limited to 'Peli-Kiera/templates/analytics.html')
-rw-r--r-- | Peli-Kiera/templates/analytics.html | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/Peli-Kiera/templates/analytics.html b/Peli-Kiera/templates/analytics.html index a966c4c..1f9f029 100644 --- a/Peli-Kiera/templates/analytics.html +++ b/Peli-Kiera/templates/analytics.html @@ -5,7 +5,7 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); - ga('create', '{{GOOGLE_ANALYTICS}}', '{{GA_COOKIE_DOMAIN if GA_COOKIE_DOMAIN else 'auto'}}'); + ga('create', '{{GOOGLE_ANALYTICS}}', '{{GA_COOKIE_DOMAIN if GA_COOKIE_DOMAIN else "auto"}}'); ga('send', 'pageview'); </script> {% endif %} @@ -24,22 +24,3 @@ })(); </script> {% endif %} -{% if PIWIK_URL and PIWIK_SITE_ID %} - <script type="text/javascript"> - {% if PIWIK_SSL_URL %} - var pkBaseURL = "{{ PIWIK_SSL_URL }}"; - {% else %} - var pkBaseURL = "{{ PIWIK_URL }}"; - {% endif %} - var _paq = _paq || []; - _paq.push(["trackPageView"]); - _paq.push(["enableLinkTracking"]); - (function() { - var u=(("https:" == document.location.protocol) ? "https" : "http")+"://"+pkBaseURL+"/"; - _paq.push(["setTrackerUrl", u+"piwik.php"]); - _paq.push(["setSiteId", "{{ PIWIK_SITE_ID }}"]); - var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; - g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); - })(); - </script> -{% endif %} |