From ceb68a87d76a67e1a8b68822098a33c3b7526358 Mon Sep 17 00:00:00 2001 From: aynsix Date: Fri, 15 Sep 2023 10:43:46 +0300 Subject: [PATCH] fix load script matomo --- templates/mobile/common/matomo_analytics.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/mobile/common/matomo_analytics.html.twig b/templates/mobile/common/matomo_analytics.html.twig index 5c1e3251ac..a44d0308a8 100644 --- a/templates/mobile/common/matomo_analytics.html.twig +++ b/templates/mobile/common/matomo_analytics.html.twig @@ -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];