I tried setting up Cloudflare web analytics using the automatic method and something isn’t working. Using Chrome to load Reveddit.com I get this in the console:
www.reveddit.com/:9 GET https://static.cloudflareinsights.com/beacon.min.js/v52afc6f149f6479b8c77fa569edb01181681764108816 net::ERR_CONNECTION_REFUSED
For Content-Security-Policy
I have
script-src ... *.cloudflareinsights.com;
connect-src ... cloudflareinsights.com;
In this related post, I see a comment from @M4rt1n about verifying the hash. The automatic setup’s embedding is,
<script defer src="https://static.cloudflareinsights.com/beacon.min.js/v52afc6f149f6479b8c77fa569edb01181681764108816" integrity="sha512-jGCTpDpBAYDGNYR5ztKt4BQPGef1P0giN6ZGVUi835kFF88FOmmn8jBQWNgrNd8g/Yu421NdgWhwQoaOPFflDw==" data-cf-beacon='{"rayId":"7e461d75ebfff062","version":"2023.4.0","r":1,"token":"62f602f55f2f471cae1864184be5939a","si":100}' crossorigin="anonymous"></script>
The hash matches the output from @M4rt1n’s tool.
I’d appreciate any help. I’m looking to use this as a replacement for Google Analytics 4, which I find unusable for basic information.