Is it possible to get the visitor IP address when routing traffic through Cloudflare

Hey guys,

the application that I’m running is planning to have a feature where visiting client IP would matter. Meaning, if the user is coming from Country A there’s one workflow, if the user is coming from Country B there’s another.

Now, since the traffic is going through Cloudflare and that is handled on Cloudflare site, is there a way to get that information what is the user origin? Maybe it’s possible to get that as a parameter in a header?

Thanks!

2 posts were merged into an existing topic: Specific IP analysis from the DNS data