Can I use Piwik PRO with Content Security Policy?

Content Security Policy is an extra layer of security that helps to spot and protect from some types of attacks, for example, cross-site scripting (XSS), clickjacking, and other code injections. The attacks usually aim to steal data, infect the website with malware or destroy its content.

Content Security Policy restricts third-party tools from loading codes on the website and allows to fetch only approved origins of content. For that reason, you need to modify the tracking code and whitelist container domain in your Content Security Policy settings.

It’s a bit complex process, so contact us at and we’ll help you prepare the tracking code and instruct how to adjust all settings.

Was this article helpful?

Be the first to rate this article.

Technical Support

If you have any questions, drop us a line at

We’re happy to help!