Gravatar for

Question by carlos.cenjor, Jan 9, 2018 12:30 PM

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?


1 Reply
Gravatar for

Answer by lbourdages, Jan 9, 2018 1:34 PM


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.

Gravatar for

Comment by carlos.cenjor, Jan 9, 2018 2:48 PM

oh, thank you didn't know that header existed. I'll check and let you know if worked :)

Ask a question