Skip to main content

Show popups to specific markets or countries

Target popups by Shopify Market or by the visitor's location (country, state, city).

Written by Rob D

You can show a campaign's popups only to visitors in certain places. There are two ways:

  • Shopify Markets: match the storefront Shopify has set up for the visitor.

  • Location: match where the visitor is, based on their IP address. This can go down to state or city.

Target by Shopify Market

Use this if your store uses Shopify Markets and you want campaigns to line up with your existing storefronts.

  1. Go to Campaigns.

  2. Click Targeting on the campaign's card to open Edit targeting.

  3. Click Select a filter.

  4. Choose In markets (or Not in markets to exclude).

  5. Pick one or more of your Shopify Markets.

  6. Click Save.

The popup now only shows to visitors in the markets you picked.

šŸ’” Note: The Shopify group also has In countries (the country Shopify has set for the visitor, which can differ from their IP location) and In locales (the storefront language).

šŸ’” Tip: If your store redirects visitors to a regional storefront, a preview link may send you away from the domain you're testing. Test with a VPN, a browser testing service set to the target country, or by going to that regional domain directly.

Target by location

Location conditions use the visitor's IP address, so they match where the visitor physically is. They work for any country, even one that isn't in your Shopify Markets.

  1. Go to Campaigns and click Targeting on the campaign's card.

  2. Click Select a filter.

  3. Under Location, choose one of these, or its "Not in" version to exclude:

    • In countries

    • In continents

    • In states/regions

    • In cities

  4. Search for and select the places you want, such as "United States" or "Germany".

  5. Click Save.

Which should I use?

  • Shopify Markets: to match how your store is already split into storefronts.

  • Location: to target by where the visitor physically is, to go down to state or city, or to reach a country that isn't in your Markets.

šŸ’” Tip: Lia, Alia's built-in AI assistant, can change a campaign's targeting for you. Ask it, for example, to "show this campaign only to visitors in Canada." See Getting started with Lia.

What location targeting doesn't support

Location targeting works at continent, country, state or region, and city level. It doesn't support:

  • ZIP or postal codes

  • A radius, such as everyone within 200 miles of a ZIP code

To reach an area around a location, add the cities and towns inside it with In cities.

Using location for compliance

If you use location targeting to meet regional marketing or consent rules:

  • Use Location, not Shopify Markets. Location comes from the visitor's IP address, which reflects where they physically are.

  • VPNs can't be detected. A visitor using a VPN appears to be wherever the VPN says.

  • Unknown locations aren't excluded. When Alia can't tell a visitor's location, a location condition is set aside rather than blocking the campaign. Don't rely on location targeting alone to keep a popup from someone.

  • Keep consent wording visible to everyone, rather than only in one region's version.

This isn't legal advice. Check your requirements with your own legal counsel.

Sending a region to your email platform

Alia doesn't send a region or market value on its own. To route signups from different regions into different flows, set a property such as region under the form's When form is submitted setting in each region's popup, then split your flows on that property in your email platform.

Still have questions?

Start a chat from inside the Alia app, or use the chat in our Help Center.

Did this answer your question?