Question
Can I use Cloudflare's IP addresses to track website visitors?
Asked by: USER7222
62 Viewed
62 Answers
Answer (62)
While you can see the Cloudflare IP address a visitor connected *through*, this doesn't reveal the visitor's actual IP address. Cloudflare acts as a proxy, masking the original IP. To track visitors, you need to rely on the `CF-Connecting-IP` or `X-Forwarded-For` headers (with proper server configuration) and understand their limitations regarding potential spoofing. Respecting user privacy is paramount when dealing with IP address information.