Client ip capture issue using IPAPI
Hi Everyone, We use ipapi to capture the client's IP address. However, after setting it live, we can only capture the Cloudflare ip. We are using this for page geography personalization to increase engagement and conversions. The domain is proxied by Cloudflare. Does anyone have a working solution to ensure the true client IP is captured, versus the Cloudflare IP always being captured?
1 Reply
Ther is a header i think it was cf-connecting-ip ther you can optain the clients ip address
req.header("cf-connecting-ip")
From my js code