How do I send visitors from a specific city to a different page?
Geo targeting can now work at city level, next to the country and state rules.
How to add a city rule
- Edit a link and open Geo Targeting.
- Click Add rule.
- Choose the Country and, if you want, the State.
- Open the City field. It lists the cities of the chosen country, or of the chosen state if you picked one. Start typing to search, for example “Dej”.
- If a city is missing from the list, type its English name and press Enter.
- Enter the Target URL and save the link.
Which rule wins?
A city rule wins over a state rule, and a state rule wins over a country rule. Visitors who match no rule go to the main destination.
Good to know
- City names are compared without accents, so “Bucuresti” and “București” are the same city.
- A visitor’s city is detected from their IP address. A few visitors can’t be placed in a city, and they get the state or country rule instead.
- You can also set city rules through the API with the
cityfield ofgeotarget.