How to Block Countries on Shopify Without Blocking Googlebot

A store owner asked the Shopify Community for a country blocker that lets Googlebot through. What they were told, what Google says, and what works.

MSM TECHNOLOGIES6 min read · 18 November 2026
A store owner works at her laptop in a bright studio

You don’t need to let Googlebot past a country block, and Google advises against it. Its own guidance is to treat its crawler like any visitor from the country it appears to come from, and its default addresses appear to be in the US. So block only the countries you mean to, and Google sees your pages the way a shopper from an open country does. A special pass for the crawler is where the cloaking worry starts.

This post starts from a real question on the Shopify Community, as the thread stood in November 2026. What Google says comes from Google Search Central; the facts about Shopify come from its help pages.

What did the store owner ask?

In July 2026, a store owner asked the Shopify Community for a country blocker that still lets Googlebot in. With their country block switched on, Google’s testing tools could no longer see the product and review details that Google uses for rich results. With the block off, they came back.

The block covered one country, and it wasn’t the US. The reason, they explained later, wasn’t fraud or shipping: they wanted to keep information about a product away from competitors in that country. The thread closed in September 2026 with no accepted answer.

What were they told?

The replies came down to five ideas.

Let search engines through the block

Two replies suggested an app that shows search engine crawlers the real page while people in the blocked country see the gate. One app maker that does this told the store owner it isn’t cloaking, but admitted it had no documentation from Google or Shopify to show.

The weak spot is the design: the crawler sees a page that people in that country don’t. Spotting a crawler by its browser’s name is easy to fool, since anyone can copy the name, which is why Google publishes ways to check that a visitor really is Google. Checking properly makes the pass safer, not different.

Check what Google actually sees first

Two replies asked the key question: is the US on your blocked list? Google says Googlebot’s default addresses appear to be based in the USA. Block the US and Google gets the gate, like any American shopper would.

They also pointed to the URL Inspection tool in Search Console, whose live test shows a screenshot of the page as Google’s tool sees it. The store owner ran it and saw the gate page although the US wasn’t blocked: their app showed its gate before the product page, even to visitors from open countries.

Block at the network instead

One reply suggested blocking at the network layer that delivers the store. On Shopify that door is closed: Shopify doesn’t support your own Cloudflare proxy in front of the store. More in how to block countries on Shopify →.

Close the checkout, not the door

If the real worry is orders, you may not need a block at all. Visitors from a country outside your active markets can browse and view products, but can’t complete a purchase. Your pages stay open, to Google too.

One warning from the thread: don’t do this by removing products from a market. Shopify says the product page then returns your store’s 404 page to customers and to search engine crawlers there. This route didn’t fit the store owner, who needed the information itself out of sight.

Block only the pages that need it

In the end the store owner limited the block to one collection and accepted that those pages would lose their rich results for a while. It’s an honest trade.

Is letting Googlebot through cloaking?

Google defines cloaking as showing different content to users and search engines with the intent to manipulate rankings and mislead users. Its examples include adding content only when the visitor is a search engine, which is close to what a crawler pass does.

Google is clearer on location. When Googlebot appears to come from a certain country, treat it like any other visitor from there: if you block US visitors, block Googlebot from the US too. Google doesn’t write about country blocks with a crawler pass as such, and it judges intent, not you or your app. We wouldn’t bet a store’s rankings on it.

Treat Googlebot like any visitor from the place it comes from. That answers most of the question.

What does a country block that leaves Google alone need?

What you need

Why it matters

It decides by where the visitor is

Googlebot from an open country sees the real page

It gives the crawler no special pass

No page for Google that your visitors don’t get

It can cover only some products

The rest of the store stays open everywhere

It closes checkout too

An order to a blocked country can’t go through

How do you block countries on Shopify without blocking Googlebot?

UCB: Country & Fraud Blocker is the one we make at msmtech, so we’re not neutral. It decides by where each visitor is, crawlers included, as Google asks: Googlebot from a country you don’t block gets your normal page, and any visit from a blocked country gets your blocking page. You can block countries, states and regions, cities and IP addresses, or allow only the countries you choose.

You can also block only some products, by product, collection, tag or SKU, for chosen countries or states: those product pages are covered there, and checkout refuses the order.

The app hides the page for a moment while it checks, then shows it or lays your blocking page over it; if the check takes over ten seconds, the page shows. Its unknown-bots setting lets search engines through and, where it can, checks they come from their published addresses.

Two honest limits. An allow rule can let a crawler past a country block by name; we don’t recommend it, for the reasons above. And the app can’t keep a secret: the page reaches the browser before it’s covered, so a determined visitor can still read it. Information that must stay private belongs off the public store. If your trouble is bot traffic rather than search engines, see how to stop bot traffic from specific countries on Shopify →.

Every plan has every feature. The free plan includes 100 visits a month. Paid plans start at USD 4.99 a month with 10,000 visits and a 7-day free trial, and visits above a plan’s allowance are billed on top, as of November 2026.

Frequently asked questions

Does blocking a country hurt my SEO?

Not if Google reaches your pages from a country you leave open. Run URL Inspection’s live test on a product page with the block on: if the screenshot shows your blocking page, Google is getting the gate.

Should I let Googlebot past my country block?

We wouldn’t. Google asks you to treat its crawler like any other visitor from the same country.

Can I stop orders from a country but keep my pages in Google?

Yes. Leave the country out of your markets: visitors there can browse but can’t buy. If the orders you want to stop are fraudulent ones, see how to prevent high-risk fraudulent orders on Shopify →.