From fcaf3ad4dbf863afe15aa86d38d2f7044e059f47 Mon Sep 17 00:00:00 2001 From: iAidan Date: Wed, 19 Oct 2016 17:42:31 +0100 Subject: [PATCH] Removed HTTPS from Piwik JS Piwik links will need to include HTTP/HTTPS --- resources/views/partials/analytics.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/partials/analytics.blade.php b/resources/views/partials/analytics.blade.php index 67281fae..008f34dc 100644 --- a/resources/views/partials/analytics.blade.php +++ b/resources/views/partials/analytics.blade.php @@ -24,13 +24,13 @@ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { - var u="https://{{ $app_analytics_piwik_url }}"; + var u="{{ $app_analytics_piwik_url }}"; _paq.push(['setTrackerUrl', u+'/piwik.php']); _paq.push(['setSiteId', {{ $app_analytics_piwik_site_id }}]); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'/piwik.js'; s.parentNode.insertBefore(g,s); })(); - + @endif @endif