From 026773b35e036d6c2b56597bb0a9fd834881eeba Mon Sep 17 00:00:00 2001 From: Kevin Falcoz <0pc0defr@gmail.com> Date: Mon, 2 Nov 2020 14:24:58 +0100 Subject: [PATCH] Replace all URLs from Piwik to Matomo --- resources/views/partials/analytics.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/partials/analytics.blade.php b/resources/views/partials/analytics.blade.php index 75142651..d6159713 100644 --- a/resources/views/partials/analytics.blade.php +++ b/resources/views/partials/analytics.blade.php @@ -25,12 +25,12 @@ _paq.push(['enableLinkTracking']); (function() { var u="{{ $appAnalyticsPiwikUrl }}"; - _paq.push(['setTrackerUrl', u+'/piwik.php']); + _paq.push(['setTrackerUrl', u+'/matomo.php']); _paq.push(['setSiteId', {{ $appAnalyticsPiwikSiteId }}]); 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); + g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s); })(); - + @endif @endif