Made by a Shopify PartnerWorks on every Shopify planSee how setup works
Shopify Partner · Works on every plan

How do I stop bot traffic on my Shopify store?

Short answer

Find where the bots come from first: a spike of sessions from one country or city, with no add-to-carts or sales, usually points to data-centre networks. Then block those networks and countries on the storefront with an app that checks each visitor, while letting verified search and social crawlers through. Bots that never load your pages need signup and order checks instead.

How to tell it is bot traffic

In Shopify’s analytics, compare sessions by location and by referrer for the days of the spike. Bot traffic usually shows several of these at once:

  • Sessions jump while sales and add-to-cart numbers stay flat
  • Most of the extra visits come from one country or city, often far from your market
  • Visits last a second or two, or arrive as direct traffic with no referrer
  • Junk customer accounts or newsletter signups arrive in the same days

Why most bots come from data centres

Scrapers and bot networks mostly run on rented servers, VPNs and proxies, because those are cheap and easy to rotate. Shoppers mostly browse from home and mobile networks. Blocking hosting, VPN and proxy networks removes a lot of bot traffic and few customers, though some real people do browse through a VPN.

What blocking does and does not change

A storefront rule runs when a page opens and shows a block message or redirects the visitor, which stops them browsing and using your forms.

It does not remove visits that already happened. The page has started loading before the check runs, so a blocked visit may still be counted in Shopify’s reports. Use the visitor log, not the sessions report, to see what was stopped.

Steps with Brickmoat

  1. 1

    Switch on the storefront embed

    From the Dashboard, open the theme editor, switch on the Brickmoat app embed and save. Visitor rules do nothing until this is on.

  2. 2

    Block VPN, proxy and hosting networks

    On the Starter plan ($6.99 a month), switch on blocking of VPN, proxy and hosting networks in Rules. Pro adds Tor and rules by network, city, user agent and referrer.

  3. 3

    Add the countries behind the spike

    If the extra traffic comes from countries you do not sell to, add them as country rules. On Pro you can instead allow only the countries you list.

  4. 4

    Check in watch mode

    While watch mode is on, the visitor log shows who would have been blocked and nothing is enforced. Look for real customers in that list first.

  5. 5

    Turn watch mode off

    Switch watch mode off in Rules. Every decision is then recorded in the visitor log with its reason.

Brickmoat has a free plan, and paid plans start with a 14-day free trial. See the plans or watch the install guide.

Limits to know about

  • Bots that never load your pages, such as ones posting signups straight to Shopify, are not seen by storefront rules. Brickmoat scores those signups and orders when Shopify records them instead.
  • Some real customers use a VPN. Check the visitor log in watch mode before switching network blocks on.
  • If the check cannot be completed, the visitor is let in. A blocker should never take a store offline.

Related questions

Will blocking bots hurt my Google ranking?

Not if crawlers are let through. Brickmoat allows verified search and social crawlers by default, checked by their network rather than by the name they give, which a bot can fake.

Why is my Shopify store getting so much traffic from Singapore or China?

Large cloud providers run data centres in Singapore and other hubs, and bots rented there show up as visits from that country. If those visits never convert, blocking hosting networks targets them without blocking the whole country.

Does Shopify block bots by itself?

Shopify’s spam protection can add a CAPTCHA to storefront forms, and Shopify protects its own checkout. It has no setting that blocks visitors from browsing by network or country.

More guides

Start with a free scan of your customer list

The free plan is free for good. Brickmoat starts in watch mode: it shows what it would catch and changes nothing until you switch it on.