Cloudflare edge script injection drops Lighthouse scores to 92
Tool · dev.to · stat: 92 score Cloudflare automatically injects its Web Analytics tracking script at the edge, triggering Content Security Policy violations on strict sites. The injection bypasses…
Tool · dev.to · stat: 92 score
Cloudflare automatically injects its Web Analytics tracking script at the edge, triggering Content Security Policy violations on strict sites. The injection bypasses local build tests and only appears during live browser sessions. While a strict policy blocks the script, the resulting console error drops Lighthouse Best Practices scores from 100 to 92.
Edge-level script injections break local testing and compromise privacy promises Founders using Cloudflare must disable Web Analytics in the dashboard to maintain strict privacy compliance and clean Lighthouse scores.
Every claim ties to a primary source. See our methodology.