From fd800597fac87a651849efdd6667eaa333c4e4ac Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Tue, 21 Jul 2020 11:18:16 +0200 Subject: [PATCH] matomo adaptation --- _includes/analytics.js | 4 ++-- _includes/matomo.html | 2 +- _includes/matomo.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_includes/analytics.js b/_includes/analytics.js index 991d77d..4dd5c02 100644 --- a/_includes/analytics.js +++ b/_includes/analytics.js @@ -11,7 +11,7 @@ (function() { var u="https://terminalnetwork.matomo.cloud/"; _paq.push(['setTrackerUrl', u+'matomo.php']); - _paq.push(['setSiteId', '3']); + _paq.push(['setSiteId', '4']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src='//cdn.matomo.cloud/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); })(); @@ -26,7 +26,7 @@ var _mtm = _mtm || []; _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'}); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://cdn.matomo.cloud/terminalnetwork.matomo.cloud/container_fHO88MfH.js'; s.parentNode.insertBefore(g,s); + g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://cdn.matomo.cloud/terminalnetwork.matomo.cloud/container_sc9z00rL.js'; s.parentNode.insertBefore(g,s); //* End Matomo Tag Manager *// {% endif %} diff --git a/_includes/matomo.html b/_includes/matomo.html index b7f4832..b5220f8 100644 --- a/_includes/matomo.html +++ b/_includes/matomo.html @@ -9,7 +9,7 @@ (function() { var u="https://terminalnetwork.matomo.cloud/"; _paq.push(['setTrackerUrl', u+'matomo.php']); - _paq.push(['setSiteId', '3']); + _paq.push(['setSiteId', '4']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src='//cdn.matomo.cloud/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); })(); diff --git a/_includes/matomo.js b/_includes/matomo.js index 2ad6005..cabb1ac 100644 --- a/_includes/matomo.js +++ b/_includes/matomo.js @@ -7,7 +7,7 @@ _paq.push(['enableLinkTracking']); (function() { var u="https://terminalnetwork.matomo.cloud/"; _paq.push(['setTrackerUrl', u+'matomo.php']); - _paq.push(['setSiteId', '3']); + _paq.push(['setSiteId', '4']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src='//cdn.matomo.cloud/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); })();