Geo Targeting Rules

Geo targeting rules control when and to whom your widget or redirect is shown, based on visitor location.

Display Rules

Choose how the widget is triggered:

Rule Description
Automatic GEO Location Show the widget based on the visitor’s detected geolocation (most common)
Automatic (non GEO Location) Show the widget automatically to all visitors, regardless of location
Manual (on custom element click) Only show the widget when triggered by a custom element click (e.g., a button with data-xgeo-open)

Geo Display Logic

When using Auto Geo Location, choose the matching logic:

Example: To show the widget to everyone except US visitors, select “United States” and set the logic to Outside.

Geo targeting settings showing Inside/Outside toggle with country selector

Location Types

Continents

Target visitors by continent. The 7 available continents are:

Code Continent
AF Africa
AN Antarctica
AS Asia
EU Europe
NA North America
OC Oceania
SA South America

Countries

Target visitors by specific country. All countries recognized by the ISO 3166-1 standard are supported (240+ countries and territories).

EU Auto-Select

When selecting countries, click EU to automatically add all 27 European Union member countries: Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, and Sweden.

How Geo Detection Works

Geolocation Flow utilizes Shopify’s built-in geolocation detection to determine a visitor’s country and continent. The app does not access or store visitor IP addresses — all location data comes from Shopify’s native geolocation API. This data is available as a geolocation object with the following properties:

Geo Targeting in Auto-Redirects

Auto-redirect rules (both Custom and Markets) have their own per-rule location settings:

See Custom Auto Redirects and Markets Auto Redirects for details.

Default Settings

Setting Default
Display rule Automatic GEO Location
Location type Continent
Selected continents North America (NA)
Geo logic Outside