mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-16 21:18:19 +01:00
Merge pull request #4157 from 0pc0deFR/patch-1
Replace all URLs from Piwik to Matomo
This commit is contained in:
commit
275315972f
@ -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);
|
||||
})();
|
||||
</script>
|
||||
<noscript><p><img src="{{ $appAnalyticsPiwikUrl }}/piwik.php?idsite={{ $appAnalyticsPiwikSiteId }}" style="border:0;" alt="" /></p></noscript>
|
||||
<noscript><p><img src="{{ $appAnalyticsPiwikUrl }}/matomo.php?idsite={{ $appAnalyticsPiwikSiteId }}" style="border:0;" alt="" /></p></noscript>
|
||||
@endif
|
||||
@endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user