New: Blockly Checkout Customizer is live — checkout rules, upsells & checkout analytics.Install free
HomeHelp CenterFraud FilterBlock by product, page, user agent, ISP or referrer

Block by product, page, user agent, ISP or referrer

Blockly Fraud Filter Updated November 24, 2026

These five criteria handle cases that IP and country rules can't. Each one opens from its tile in Block & Re-director, and works in Block, Redirect and Whitelist mode.

Products

Hide a product or collection from visitors in certain countries, for example a product you aren't allowed to sell there.

  1. Click Products.
  2. Choose Specific Products and use Select product, or choose Specific Collection and use Select collection.
  3. Under From, choose the country. Optionally add states or provinces.
  4. Click Save.

Visitors from that location see the blocking page when they open the product. They can still browse the rest of your store.

Specific Page

Block a store page or any URL on your store.

  1. Click Specific Page.
  2. Choose Specific Pages and select pages, or choose Custom URL and enter the full address, such as https://yourstore.com/pages/landing-page.
  3. Under From, choose the country.
  4. Click Save.
Note

The first time you use this criterion, Blockly asks for permission to read your store content. Click Grant permission and approve it in Shopify.

User Agent

Every browser sends a "user agent" text that describes the browser, device and OS. Bots and scrapers often have tell-tale user agents.

  1. Click User Agent.
  2. In Select country, choose where the rule applies (required). To cover everyone, use Add all countries.
  3. Under Type, choose:
    • Browser: pick browsers in Select browsers, and optionally a device and OS.
    • Substring (marker 1): enter a piece of text to look for in the user agent, such as HeadlessChrome or python-requests.
  4. Click Save.
The User Agent rule editor using a substring
A Substring rule blocks any visitor whose user agent contains the text (marker 1)
Warning

Don't block Googlebot, bingbot or facebookexternalhit unless you mean to. Doing so removes your store from search results or breaks link previews on Facebook. Trusted bots are listed under Settings → Mitigator → Allowed bot list.

ISP

Block traffic from an internet provider. This works well against hosting and data-center networks, which real shoppers rarely use.

  1. Click ISP.
  2. Under Select country, pick the country, then pick the provider in Select ISP.
  3. Click Save.

To find which provider a bad visitor used, open the visitor in Analytics → Visitors. You can also click Block Internet provider right on that page.

Referrer URL

Block visitors who arrive from a particular website, such as a spam referrer or a deal site you don't want traffic from.

  1. Click Referrer URL.
  2. In Select country, choose where the rule applies (required).
  3. Under Referrer URL Matching, choose:
    • Exact URL: blocks traffic coming from this exact URL only.
    • URL Contains: blocks traffic if the referrer contains your keyword, for example spam-site.
  4. Optional: add a Ref URL name (optional).
  5. Click Save.