Skip to content

Signals and agreement

A stamp is a consensus when two or more independent signals agree on where the visitor is: a US state inside the United States, or a country elsewhere. The more signals agree, the stronger the result, and each stamp lists the signals that agreed.

Most signals come from the visitor’s connection and browser settings, so the visitor isn’t asked for anything. Only location needs the visitor’s permission.

Signal What it looks at Asks the visitor?
ip Where the visitor’s IP address is located. No
rdns Location hints in the visitor’s network provider’s naming. No
tz The browser’s time zone. No
lang The browser’s preferred language and country. No
edge Which nearby network location the browser connects through. No
previous An earlier stamp this browser already holds. No
gps The browser’s approximate location. Yes, the browser’s location popup

If fewer than two signals agree, the stamp is inconclusive and its reason says why. Show your default content; the script will check again later.

A stamp is reused while it’s valid and the visitor is on the same network. When the visitor’s network changes, for example a phone moving from Wi-Fi to mobile data, the script runs a new check.