Is it possible to inject JS codes into my page depending from visitors country? Or it would be better to find some solution at serverside via PHP?
By the way, I have Pro plan enabled.
You could do this via a Worker script. Overall, it probably is better to do this server side using the country information Cloudflare adds as HTTP header.
Thanks, seems that at serverside it can be done more easily.
This topic was automatically closed after 14 days. New replies are no longer allowed.