How to block countries, IP addresses, VPNs and customers on Shopify

You cannot block countries on Shopify with a setting: Shopify has none that keeps visitors from a country, an IP address or a VPN out of your store. Shopify's own tools work on orders: you can see an order's IP address, get orders from a proxy flagged, and build block lists in Shopify Flow. To stop the visit before the page opens, you need an app. It helps against bots and fraud from certain places, but it also costs real customers when the rule is too wide.

What Shopify can do itself

What they have in common is that they work on the order or the checkout. The visit has already happened, and it counts in your analytics and your ad pixels.

How to block a customer on Shopify

To stop a certain customer who keeps ordering, you have three ways:

When does it make sense to block countries and IP addresses?

What it costs

So start narrow: one country or one network you can see in your visits, rather than whole continents.

Where Storebouncer fits

Storebouncer is a Shopify app that checks every visit at the door, before your analytics and ad pixels start. This is what it can do with countries, IP addresses and VPNs:

It stops only the visits its lists and your rules hit, not all bots. Rules by country, IP and network and blocking of VPNs, proxies and Tor are in Pro at $9.99 a month. Checkout rules are in Scale at $29.99. Both have a 7-day free trial. See the pricing.

See Storebouncer on the Shopify App Store

Read also about bot traffic on Shopify and card testing on Shopify.

Sources

Last updated 30 November 2026. Written by Storebouncer, OkayScale ApS.