aboutsummaryrefslogtreecommitdiffstats
path: root/Peli-Kiera/templates/analytics.html
diff options
context:
space:
mode:
authoraleylara <ingirtere@gmail.com>2021-02-25 15:29:13 +1100
committeraleylara <ingirtere@gmail.com>2021-02-25 15:29:13 +1100
commitedcc3440dde15e05f71d494798d8c0a45b9f7427 (patch)
tree03a5be7e04a1dfdec1f6699247b6da09c296fe48 /Peli-Kiera/templates/analytics.html
parent24dd63e2da63e1cdac7d36a6febc307682a49fc6 (diff)
downloadpelican-themes-edcc3440dde15e05f71d494798d8c0a45b9f7427.tar.gz
Fixed navbar title wrapping, removed Piwik script
Diffstat (limited to 'Peli-Kiera/templates/analytics.html')
-rw-r--r--Peli-Kiera/templates/analytics.html21
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 %}