Geo-targeted Cookie Consent in Astro Using Cloudflare

How to show cookie consent for GDPR only to visitors from EU countries - for free on Cloudflare.