Question

Magento 2 cloudflare unable to install Matomo

We are using magento 2 with Cloudflare enabled on the website but when we try to install Matomo getting this issue on the browser console -

index.php:1 Refused to load the script 'https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c124171
    7689176015' because it violates the following Content Security Policy directive: 
    "default-src 'self' 'unsafe-inline' 'unsafe-eval'". Note that 'script-src-elem' was not 
    explicitly set, so 'default-src' is used as a fallback.

And It is not proper to install getting this SQLSTATE error - enter image description here Does anyone know how to solve this?

 3  40  3
1 Jan 1970