# Click Location That Stays on Your Server

> Broadcast 3.11 finds the location of link clicks in a local DB-IP Lite database, so no click IP address goes to a location service.

Source: https://sendbroadcast.net/blog/email-click-location-without-third-party-ip-lookups

When a reader clicks a link in your email, Broadcast shows where the click came from: the country, the region and the city. Until now, Broadcast got that location from an outside service. It sent the reader's IP address to ipinfo.io, and to ipapi.co or freeipapi.com when the first one did not answer.

That was the weak spot in a simple promise. You run Broadcast on your own server so that your subscriber data stays with you. An IP address is personal data under the GDPR, and each click sent one to a company you had no agreement with. If you send to readers in Europe, that is a question your privacy page has to answer, and "a location service we did not choose" is not a good answer.

So in 3.11 the lookup happens on your server. Broadcast reads the location from a DB-IP Lite database file, and the outside services are gone from the code.

## You choose the database, and you choose when it is downloaded

The database is not in the Broadcast image. The City file is about 60 MB to download and uses about 130 MB of disk, and not everybody wants that. Open **Application > Geolocation**, pick the City database (country, region and city) or the Country database (country only, about 4 MB), and click **Save and download**.

![Application > Geolocation in Broadcast while the City database downloads: a progress bar at 61 percent with Downloaded 39 MB of 63 MB, the City database selected, and Update the database each month ticked](https://sendbroadcast.net/assets/blog/click-location-database-download-c84d38a8.png)

The download runs in the background, and a progress bar shows how far it is. Broadcast checks that the file really is the database you picked before it uses it. The file goes to the storage folder, so it stays when you upgrade or restart.

DB-IP publishes a new file each month. If you tick **Update the database each month**, Broadcast checks once a day and downloads the new file when there is one. It is off by default. With it off, Broadcast contacts DB-IP only when you click the button. Either way, a download asks download.db-ip.com for one file and sends nothing about you or your subscribers.

![Application > Geolocation in Broadcast with the City database installed: the release November 2026, the download date, 121 MB on disk, the monthly update on, and the buttons Download the newest file now and Remove the database](https://sendbroadcast.net/assets/blog/click-location-geolocation-installed-21445bb7.png)

I drew the line here on purpose. Broadcast does not download anything after an upgrade by itself. Until an administrator picks a database, new clicks have no location. Clicks recorded before the upgrade keep the location they have. If you remove the database later, the old clicks keep their location too.

The click pages and the Countries card on the dashboard credit DB-IP, as the free licence asks.

## What this looks like in practice

A newsletter for readers in Germany and France: the privacy page can now say that click locations are found on the sender's own server, and it does not need a line about a US location service.

A small shop on a small server only wants to know which countries buy: it picks the Country database, 4 MB, and leaves the monthly update off. Once a quarter someone clicks **Download the newest file now**.

An agency that runs Broadcast for clients turns the monthly update on, so the City data stays current without anybody remembering it, and the only outside call is the one file from DB-IP each month.

---

*The [link tracking docs](/docs/link-tracking#click-location) explain how click location works and what each database contains. For what you can do with the click data, see [which issue worked and where readers clicked](/blog/email-campaign-analytics-click-map-cross-channel-signup).*
