Visitor IPs and location lookups
Clicks never store a visitor’s IP address. They keep only a short one-way code made from it with your site’s own secret, which is enough to count unique people and spot repeat clicks, but can’t be turned back into the IP.
How the one-way code works#
The edge script combines the IP address with your installation’s private sync secret and turns it into a fixed-length code (a keyed hash). Without the secret, nobody can work backwards from the code, or even test guesses, because the same IP gives a different code on every other installation.
Location lookups#
To find a visitor’s city and network, the edge script asks freeipapi.com, unless Visitor location is set to Country only (Bunny), where IPs never leave Bunny.
| Setting | IP sent to | You get |
|---|---|---|
| freeipapi.com, free | freeipapi.com | Country, city, network |
| freeipapi.com, paid plan | freeipapi.com, on your own account | Country, city, network |
| Country only (Bunny) | Nobody | Country only |
The lookup happens after the visitor has been redirected. Answers are remembered for 10 minutes per IP, so a visitor clicking several links is looked up once.
IPs waiting for a lookup#
On the free plan, in a minute busier than 60 lookups, the IP waits in your Bunny database until it can be looked up, then it’s deleted. It’s never kept longer than 48 hours. Choosing Country only (Bunny) deletes any waiting IPs at once.
Other places an IP is used#
- Password attempts are counted per IP in the edge script’s memory, to slow down guessing. Never written to the database.
- Conversions use the same one-way code as clicks.
For your privacy policy#
If you use freeipapi.com, say that visitor IP addresses are sent to it to estimate their location, and that only the location is kept. The suggested text in WordPress’s policy guide covers this. See Your privacy policy text.


