If you are seeing that all your visitors are correctly tracked in Piwik but that they all have the same IP address, read on. In your ‘Visitor Log’ report, if all your visitors have the same IP address or the same Provider, this FAQ will provide a solution.
Why do I see the same IP everywhere?
In most cases this IP address (that is set to all visitors) is either the IP of the Piwik server itself or maybe the IP of a proxy server or a firewall between your website’s visitors and the server hosting your website.
How do I fix the issue?
1. Your Piwik server may actually be hosted behind a proxy. To configure Piwik to track IP address correctly when using a Proxy server, read this FAQ to configure Piwik to read the correct IP address. As explained in this FAQ you may add lines in your Piwik config file to tell Piwik where to read the IP address.
2. Are you using the Tracking API? You may also experience this problem when you are using one of the Tracking API clients to record visits and actions. You may use the method
setIP() to overwrite the IP address manually. See the reference.