Shopify's country selector vs a geolocation popup
By Beacon Wave Studio · · 7 min read
Most Shopify themes ship with a country and region selector in the footer, and many merchants reasonably ask why they would add a geolocation popup on top of it. The two are not competitors. The selector is the mechanism; the popup is a way to get the right shoppers to use that mechanism before they bounce off a price in the wrong currency. This post explains what the selector does, what a popup adds and how GeoBeacon shares one choice with it, so you can decide whether you need both.
What the footer selector actually does
The selector is a Shopify localization form. It lists the countries of your active markets (and the languages published for the current market), and when the shopper picks one it posts the choice back to Shopify. Shopify records it for that shopper, reloads the page in the selected market and from then on shows that market's currency, prices, shipping options and language. If the market has its own domain or subfolder, the reload lands there. Shopify's localization documentation describes the same behaviour for its own automatic redirection: the shopper's choice is remembered and respected on later visits.
Three properties follow from that. The selector only offers what Markets offers, so it can never send a shopper to a country you do not sell to. It is passive: nobody is asked, and a shopper who does not scroll to the footer never sees it. And it is Shopify's own code, served with the page, which is why it is the mechanism every well-behaved geolocation app should end up calling rather than replacing.
What a popup adds
A geolocation popup changes who initiates. Instead of waiting for the shopper to notice the footer, it reads where the shopper is, compares that with where they are browsing, and proposes the switch on the first page view. For a shopper from Germany landing on a US-dollar product page, that is the difference between seeing euros before they judge the price and seeing them after they have already decided it is expensive. The popup versus automatic redirect post compares the proposal with the silent version of the same idea.
The popup also covers the one case the selector cannot: a destination outside this store. If your Canadian customers are served by a separate Shopify store or a distributor's site, no localization form can take them there, because the form only knows this store's markets. A GeoBeacon URL rule redirects or proposes the other site instead, optionally keeping the current path.
One choice, two doors
Here is the part that makes running both painless. When a shopper accepts a GeoBeacon market rule, the script builds the same localization form the footer uses, with the target country, optionally a language, and the current page as the return path, and submits it. Nothing about the switch is GeoBeacon's own: Shopify receives a localization change identical to a footer click, records the same preference, and reloads the same way. There is no second cookie fighting the first and no app-specific currency state to get out of sync.
On every page, GeoBeacon also reads the shopper's current country from Shopify before deciding anything. If the current country already equals the rule's target (and the language, if the rule sets one), the decision is logged as already-there and nothing is shown. So a shopper who used the footer selector before the popup had a chance, or who arrived on the right market through Shopify's own redirection, never sees a proposal to go where they already are. The reverse holds too: a shopper who accepted the popup and later changes their mind in the footer gets the footer's choice, and the popup stays quiet because the country they chose is now the current one, or because their earlier decision is still remembered (see how long the choice is remembered).
The list they share
The selector shows the countries of your active markets because Shopify renders that list into the page. GeoBeacon reads the same list from the page before offering a market rule, and if the rule's target country is not on it the rule is skipped with the reason country-not-offered. The practical effect is that adding a market in Shopify updates both at once, and removing one silences both at once; there is no second place to maintain. The countries you do not ship to post covers what to show those shoppers instead.
When the selector alone is enough
- You sell in one currency to a handful of neighbouring countries and the price shock is small. A visible footer selector and a clear shipping page do the job.
- Almost all your traffic already lands on the right market because you run separate domains and Shopify's automatic redirection is on. The popup would mostly be saying already-there.
- Your theme puts the selector in the header, not the footer, and your analytics show shoppers using it.
When you want the popup too
- Your home currency is far from your visitors' (a Norwegian store with US traffic, a Japanese store with European traffic) and the first price they see decides whether they stay.
- Some countries are served by another store or a distributor, which the selector cannot reach.
- You want a message with the switch: duties included, local payment methods, shipping times, in the shopper's language.
- A market exists but the footer is the last thing a mobile shopper reaches, and your bounce rate on the wrong-market landing pages shows it.
Setting it up so they cooperate
- Keep the footer selector on. GeoBeacon does not replace it, and a shopper who dismisses the popup still needs a way to switch later.
- Use market rules for countries that are markets in this store, and URL rules only for destinations outside it. Market rules go through the localization form and stay in step with the selector; URL rules are a different kind of door.
- Leave Shopify's automatic redirection off for the countries your rules handle, or make sure both agree on where each country goes. The redirect loop post explains why two redirectors with different opinions is the one setup to avoid.
- Test with the simulation parameter rather than a VPN, then use the footer selector in the same session and confirm the popup does not come back.
Think of the footer selector as the door and the popup as the person holding it open for the shoppers who would otherwise walk past. Same door, same room on the other side, and no need to choose between them.
Frequently asked questions
If my theme already has a country selector, do I need a geolocation popup?
Only if shoppers are not finding the selector in time. The selector works for anyone who scrolls to the footer and knows to look; a popup proposes the switch on the first page view to the shoppers who match a rule. Both end in the same Shopify localization change, so there is no conflict in running both, and the popup only appears when a rule matches and the shopper is not already on the right market.
Does the GeoBeacon popup do the same thing as the footer selector?
For market rules, yes. Accepting the popup submits Shopify's localization form with the target country and the current page as the return path, exactly as the selector does. Currency, language, pricing and shipping follow Shopify's market settings either way. For rules that point at a separate store or an external URL, the popup does something the selector cannot: it leaves the site.
What happens if a shopper uses the footer selector after dismissing the popup?
The selector changes their market as usual. GeoBeacon reads the current country from Shopify on every page, so on the next page it sees that the shopper is already where the rule would send them and does nothing. If the shopper picks a third country, the dismissed popup stays dismissed for as long as the remembered choice lasts.
Can the popup offer a country that the selector does not list?
No. The selector lists the countries of your active markets, and a GeoBeacon market rule is checked against the same list on the page. A rule whose target country is not offered is skipped with the reason country-not-offered rather than shown, so the popup never promises a market that does not exist.