My website guitmz.com is hosted via Netlify (DNS too). I’m trying to use Plausible for analytics and I can’t make it work. I added a custom CSP rule to allow connections to it already but even if I remove the CSP headers entirely, the error stays the same. Is there a default CSP rule applied by Netlify that I can’t see?
Refused to connect to https://plausible.io/api/event because it does not appear in the connect-src directive of the Content Security Policy.
Config I tried (tried several, this is one of them):
Content-Security-Policy: connect-src 'self' plausible.io
I tried with https://, the full URL of Plausible in CSP, tried with a custom subdomain (visitors.guitmz.com) instead too, it displays the same error always (with the subdomain the error changes to the subdomain of course).
Any guidance would be great! Thanks in advance