Skip to content

Commit

Permalink
fix load script matomo (#4377)
Browse files Browse the repository at this point in the history
  • Loading branch information
aynsix authored Sep 15, 2023
1 parent bda5d44 commit cc3147a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/mobile/common/matomo_analytics.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//{{ app['conf'].get(['registry', 'general', 'matomo-analytics-url']) }}/";
var u="{{ app['conf'].get(['registry', 'general', 'matomo-analytics-url']) }}/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', {{ app['conf'].get(['registry', 'general', 'matomo-analytics-id']) }}]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
Expand Down

0 comments on commit cc3147a

Please sign in to comment.