Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 13117

Re: not able to track city even though geoip php is installed and activated?

$
0
0
One way is to open ports on your router and:

- Call someone to visit the page url.
- You go to an Internet Cafe and visit the page url.

Then close those ports on your router.

Another way is to use the Piwik Api:
1. Develop a small script to call the API
2. Fake the IP to that script to use an IP of your choice.

If you need code example let me know

EDIT:
Actually the reason you do not see Piwik showing you any city is because LAN IPs do not belong to any country or city. Meaning that it should not show you country either -- either using the geoip or not.

Viewing all articles
Browse latest Browse all 13117

Trending Articles