From 758d48ec961c54a08efdd5e23ff15fa9c9c9af8b Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Wed, 20 May 2020 16:29:33 -0400 Subject: [PATCH] Change to matomo.js --- common/head_tag.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/head_tag.html b/common/head_tag.html index da29dcb..c9b40e4 100644 --- a/common/head_tag.html +++ b/common/head_tag.html @@ -15,10 +15,10 @@ if (!_paq_loaded) { var u = `//${settings.host_url}/`; - _paq.push(['setTrackerUrl', u+'piwik.php']); + _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', settings.website_id]); 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); _paq_loaded = true; }