Where does Piwik get the client IP address?

Hello,

I’m wondering where Piwik gets the client IP address from. We anticipate deploying Piwik behind a load balancer and/or reverse proxy and were hoping to configure it to use the ‘X-Forwarded-For’ header to gather client IP information. Is this or a similar configuration possible? Any thoughts would be appreciated.

Thanks!

Hi,

What you want is possible. Just follow this manual:

https://piwik.org/faq/how-to-install/faq_98/

1 Like