How to stop Cloudflare from injecting beacon.min.js
Natt, Design Engineer· (3 days ago)·2 min read
Have you tried turning it off and on again?
— Roy, The IT Crowd
If you ever add a domain to Cloudflare, you may notice from the network tab that beacon.min.js is automatically being injected into your website. That is the script for Cloudflare's Web Analytics, which has been enabled by default on free domains since October 15, 2025.
If you want to turn it off, you can do so by turning on web analytics and turning it back off.