Visitors from Google Search and the geolocation popup
By Beacon Wave Studio · · 7 min read
On 12 November 2026 Google's Search Central added a page describing how to identify traffic that came from Google Search by looking at the HTTP Referer header. It is short, and most of it confirms what analytics people have assumed for years: Google sends the origin only, so the header reads https://www.google.com/ or a country domain such as https://www.google.co.uk/, with no path and no query. Traffic from the Google app on Android arrives with an android-app:// referrer instead, and some arrives with no referrer at all. The search terms are not in the header and never were; for those you go to Search Console.
This is worth a post because GeoBeacon reads the referrer too, for one specific decision, and merchants sometimes assume that decision covers search traffic. It does not, and knowing exactly what the extension sees when a searcher lands lets you set the rules so that the people Google sent to the right store are not immediately asked whether they would like a different one.
What the browser tells GeoBeacon on a search landing
The extension runs in the shopper's browser and reads document.referrer, the same value Google's page is describing. For a click from Google Search it will be https://www.google.com/ or one of the country domains, from which the extension keeps only the hostname. For a click from the Google app on Android it will be an android-app:// string with no hostname the extension recognises. For a visitor who typed the address or came from a privacy-focused browser that strips referrers, it will be empty. Google's new page also notes that the Referer is not a reliable signal for every request, which is one more reason GeoBeacon does not build anything important on it.
The one thing it does build on it is the referrer rule described in the own-stores post: if the referrer's hostname is in your known hosts list, and is not the host the visitor is on now, the extension stays quiet. The known hosts list is made of your own store domains, the ones the visitor might deliberately move between. www.google.com is not on it, so a search landing is treated like any other first visit.
The order of checks, and where search traffic falls through
- Theme editor design mode: do nothing.
- Skip bots: if the user agent looks like a crawler, including Googlebot, do nothing. This is the check that protects your rankings, and it is on by default.
- The
?geobeacon=offparameter: do nothing. - A remembered choice from a previous visit that has not expired: do nothing.
- Excluded paths, including checkout and account pages: do nothing.
- Referrer on the known hosts list: do nothing. A search landing fails this test and continues.
- Match Shopify's suggested country for the session against your rules, and show the popup or redirect accordingly.
A first-time visitor from Google therefore reaches step seven, and what happens next depends entirely on whether their suggested country matches the store they landed on. If Google sent a shopper in Canada to your Canadian store, the rule for Canada finds nothing to do and the page is simply the page. If it sent them to your US store, the Canada rule fires. The question is what it should do when it does.
Why Google usually sends them to the right place already
Shopify Markets publishes hreflang annotations for every localised version of a page, whether you use subfolders or separate domains, as described in Shopify's domains and subfolders documentation. Google uses them to show the Canadian page to searchers it believes are in Canada and the US page to those in the US. When that works, geolocation has nothing to add on a search landing. When it does not, which happens with new markets that are not indexed yet, with searchers on a VPN, and with pages that have no localised equivalent, the visitor lands on the wrong store and your rule is the only thing standing between them and the wrong currency.
That is the case for keeping the rules active on search landings. The case against is that Google's choice is usually right, and a visitor who is bounced to a different store the moment they arrive has a reason to think the site is broken. The SEO post covers the crawler side; this is the human side of the same argument.
What to set
- Use popup mode rather than redirect for rules that will catch search traffic. The mode comparison goes through the trade-offs; the short version is that a popup lets a searcher who was sent to the right store by Google dismiss it in one tap, while a redirect moves them before they can object.
- Keep the remember period at its default of 30 days or longer. A searcher who dismisses the popup once and comes back from another search next week should not see it again, and the remembered choice is checked before the rules are.
- Leave skip bots on. Googlebot identifies itself in the user agent and is stopped at step two, so the page it indexes is the page you published. Turning this off to test something is the most common way a store ends up with a popup in its rendered snapshot.
- Do not add Google's domains to the known hosts list. The field will accept any hostname, and the extension would then stay quiet for every visitor arriving from that domain, which sounds like a way to exempt search traffic until you count the country domains Google uses and notice that the Android app sends no hostname at all. It also exempts the visitors who most need the popup, the ones Google placed on the wrong store.
Checking it on your own store
Search for your brand on Google from a browser with no remembered choice, click a result, and open the browser console with the debug setting switched on in the GeoBeacon block in the theme editor. GeoBeacon then logs its decision on each page load, including the reason it stayed quiet when it did. On a search landing you should see either a rule decision or a note that the suggested country matched the store, and never came-from-own-store, which is reserved for your own domains. If you see bot, your browser is exposing automation and the real visitor path has not been tested.
The new Google page changes nothing about how GeoBeacon behaves. It is useful because it states plainly what the referrer contains on a search landing, which lets you stop wondering whether the extension can tell a searcher from anyone else. It can tell them from a visitor who came from your other store; beyond that, everyone who arrives for the first time is treated the same, and the rule you write for a country is the rule a searcher from that country will meet.
Frequently asked questions
Does GeoBeacon skip the popup for visitors arriving from Google Search?
No, not by itself. The referrer check only skips a visitor whose previous page was one of your own store domains in the known hosts list. A referrer of https://www.google.com/ is not one of those, so the visitor is evaluated like anyone else: country suggested by Shopify, matched against your rules, popup or redirect as configured.
Can I see which search the visitor made from the Referer header?
No. Google's documentation says Search sends an origin-only referrer, such as https://www.google.com/ or a country domain, with no path and no query terms. The words people searched are available only in Google Search Console, and GeoBeacon does not read the referrer for anything except matching it against your own domains.
Should I use redirect mode or popup mode for search landings?
Popup mode. A searcher who lands on a localised page arrived there because Google matched the page to their language and country through hreflang, and a silent redirect second-guesses that. A popup offers the other store without moving anyone, and the remembered choice keeps it from reappearing for the remember period.
Does Googlebot see the popup or get redirected?
Neither, when skip bots is on, which is the default. The extension checks the user agent for crawler names before anything else and Googlebot matches, so the page renders for the crawler as it is, with no popup and no redirect. This is the behaviour Google asks for, and it is why the referrer header never comes into it for crawlers.