is located at
Target users by where they are visiting your website from.
The
is located at
rules targets visitors of the specified continent, country, city, zip code, or region.Using this rule to define an audience requires that your application calls one of the Ninetailed SDK's
.page()
, track()
, or identify()
methods at least once. For more information check the events guide.
This rule consists of one of each of:
- a location type
- a value matcher, composed of:
- a value matching operator
- a location value

Select what type of location to match. Choose from:
- Continent
- Country
- City
- Postal Code
- Region

Choose how to compare the location value to the chosen location type. The value matching operator will always be "equal to" when the location type is set to either
Continent
or Country
. When the location type is City
, Postal Code
, or Region
, you may choose from a variety of matching operators:- equals
- does not equal
- contains
- does not contain
- starts with
- ends with
- matches, for matching to a Regex expression

The value to compare to.
- Note that an automatically generated dropdown list is generated when the location type is set to either
Continent
orCountry
. - When matching a
City
, spell the city with proper capitalization and spacing, e.g.,San Francisco
. - When matching a
Postal Code
, use the shortest representation of postal code when performing exact matches. In the United States for example, postal codes will be 5 digits of format XXXXX instead of the 9-digit format of XXXXX-XXXX. If you are unsure of the postal code format, try checking within the browser or use thecontains
matcher instead of theequals
matcher when appropriate. - When matching a
Region
, consider what this will resolve to based on the country of the visitor. For example,Region
will be a state in the United Stattes, while in CanadaRegion
will be a province. Spell the region with proper capitalization and spacing, e.g.,New York
.
Last modified 7d ago