GA4 stopped working after I protected my website with Cloudflare

GA4 stopped working after I protected my website with Cloudflare. Maybe I did something wrong?