Custom IP on Analytics
Our customer is developing a backend app using Coveo Cloud Analytics for Coveo Cloud v2 with the Stats Write Analytics API:
Coveo API takes automatically the IP from the Backend and is always the same. This is ok when you use a frontend write request, but not when using a backend proxified request.
They need to provide the user IP to track users as a parameter, a header or something like.
Is there any way to do it?
You can provide the X-Forwarded-For header with the IP of the client. We use this to find out the source IP address.
For this to work, all proxies in the path of the request must be configured to support the header.