If you are seeing that all your visitors are correctly tracked in Matomo (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 Matomo (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. Sometimes the IP address will be set as
How do I fix this issue?
1. Your Matomo (Piwik) server may actually be hosted behind a proxy. To configure Matomo to track IP address correctly when using a Proxy server, read this FAQ to configure Matomo to read the correct IP address. As explained in this FAQ you may add lines in your Matomo config file to tell Matomo 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.