Use public IP instead of Local IP in Piwik



I am using geoip databse for ip recognision. I have the issue that Piwik is taking my local ip instead of public ip so it’s not showing my location as unknown.

I am using javascript tracking method. How can I use piwik to use my location correctly. Is it possible to send ip of the visitor from browser itself from setReferrerUrl method in javascript. If yes please let me know how it can be implemented.


Mohd Nadeem