Doorman Install free

← Blog

How to block a country on Shopify, and when not to

2026-08-02 · 7 min read

Most guides jump straight to installing something. Start with what your store already does, because for a good number of merchants that is the whole answer.

First: what Shopify already gives you, free

Under Settings → Markets you control which countries you sell and ship to. Deactivate a market and buyers there cannot complete a purchase. No app required, no monthly fee, and for a merchant whose only goal is "I do not want orders from there", this is the correct answer and you can stop reading.

What Markets does not do is stop anyone from that country looking. Your storefront still loads, your product pages still render, your images and copy are still served, and your bandwidth is still spent. Markets is a selling control, not an access control.

So when does that gap actually matter?

Honestly, less often than this category's marketing suggests. It matters when:

  • Automated traffic is a real cost. Not "some bots visited", but a measurable share of requests from datacenter ranges that never buy anything.
  • You keep getting fake orders that pass Markets. Typically a buyer connecting from one country and shipping to another you do sell to.
  • Your catalog and photography get copied and reappear on a competitor's site.
  • You have a wholesale or regional launch that must not be visible yet to everyone.
  • Compliance obliges you not to serve sanctioned jurisdictions at all.

If none of those describe you, Markets plus Shopify's own fraud analysis is a reasonable place to stay.

The distinction that decides which tool you need

There are two different countries in every transaction and confusing them is the most common mistake in this whole subject.

The connecting country is a network fact. It comes from the IP address the request arrives on, it is known before your page is served, and the visitor cannot type it. The address country is a claim, typed into a form later, and a perfectly ordinary buyer differs on both: someone travelling, someone on a corporate VPN, someone shipping a gift.

Markets acts on the address. Anything acting on the connecting country has to sit in front of the page, which is where an access-control app comes in. Treating them as one switch is how a rule blocks a customer you meant to keep.

How to introduce a rule without breaking anything

  1. Write the rule but do not enforce it. Run it in watch-only mode and let it record who it would have turned away, on your real traffic, for a week.
  2. Read that list before trusting it. This is where you find the search crawler you were about to block and the two orders a month from a country you forgot about.
  3. Check your crawler handling specifically. The app should verify Google and Bing against the IP ranges those companies publish, not against a user agent string anyone can copy.
  4. Enforce, then watch Search Console crawl stats for a few days.
  5. Keep a way out for individuals. A bypass link lets one blocked person straight through without weakening the rule for everyone.

What to be sceptical about while comparing apps

Three claims are common in this category and none of them survives contact with how the platform works.

"Stops card testing." No app can intercept a payment attempt inside Shopify's checkout. If a card-testing wave hits you, the levers are Shopify's fraud controls and your payment provider. An app in this category is not one of them.

"Cleans up your analytics." Shopify counts the pageview before any app runs. Blocked traffic still appears in Shopify's own reports. An app can show you a filtered picture in its own dashboard, and that is a different sentence.

"Stops scrapers copying your products." A storefront's product feed is served by Shopify, and no app sits in front of it. Right-click blocking deters casual copying by a human; it is a speed bump, and anyone describing it as protection is overselling.

A reasonable default

Deactivate the markets you do not sell to, which is free and native. If bots, copying or fake orders are costing you something you can point at, add an access-control layer, put every rule in simulation first, and let a week of your own traffic decide rather than a hunch.

Doorman does this

Country, IP and VPN rules that you can watch on your real traffic before a single visitor is turned away. Free plan, no card.

Install free