Hi everyone, I have been trying to set up matomo, but I am getting a few errors I cannot seem to fix on my own, and so I need some help from someone more experienced than myself.
I use matomo via the wordpress plugin, combined with Cloudflare. I followed the guidelines to enable cloudflare cdn via matomo.
The issue(s): when I enable ‘tracking code’, I get a warning (front-end) about double registration of the setTrackUrl, setSiteID and enableLinkTracking. See screenshot…I understand this means I have two trackings enabled but I cannot see where I need to fix this…I’ve been searching the web since yesterday, and LOTS of info but NO solution to be found. People with solutions tend to be extremely vague in their sharing of them.
The other issue is that https//matomo.org/matomo.js is blocked due to mime type mismatch (server sees this as (text/html); again there are loads of people with this issue, but no solution whatsoever. See screenshot 2. The yellow warning the the matomo.js cannot be loaded seems a consequence to the mime mismatch…Can i add the js filetype to htaccess, would that work for this, or is the issue deeper?
Please help? I’m sure these are just some settings I’m overlooking… (I’ve pasted together 2 screenshots into one, because of the (frankly 'useless) rule of only one image for new users…these are still TWO images, made into one, so what’s the difference?).