Protecting your store from bots
You can activate bot protection to help prevent product inventories from primarily being sold to auto-checkout bots. Bot protection acts as a fairness control by blocking known bots from your checkout, and slowing down bot activity so that your customers have the opportunity to purchase scarce products during flash sales.
If you want to request the bot protection feature for your online store, then contact Shopify Plus support.
On this page
Considerations for using bot protection
Review the following requirements and limitations before using the bot protection feature:
- This feature is meant only to limit the effectiveness of auto-checkout bots and isn't meant to combat forms of fraud that are related to bot activity.
- Bot protection is available in your Shopify admin only after it's been activated. To activate bot protection for your online store, contact Shopify Plus support.
- The bot protection feature is available only for the Online Store sales channel. Bot protection for other sales channels isn't supported.
- Bot protection can be applied to up to 50 individual products, or to all the products in your store. You can’t add bot protection to a collection of products.
- Only one bot protection event can be scheduled at a time.
- The maximum duration for a bot protection event is 60 minutes.
- After a bot protection event is active, it can't be edited. It can only be deactivated.
Schedule bot protection
You can schedule bot protection to start at a specific time and date. Your scheduled event begins at the time you select according to your store’s time zone, not your browser's time zone.
The maximum duration for a bot protection event is 60 minutes. To maximize the effectiveness of bot protection, you can schedule it at the same time as your flash sale. When you schedule bot protection, you can choose to protect all published products, or you can select up to 50 individual products that you want to protect.
Steps:
- If you haven't already activated bot protection for your online store, then contact Shopify Plus support to activate the feature.
- From your Shopify admin, go to Settings > Bot protection.
- Click Schedule protection.
- Enter a title, date, start time, and duration.
- Select Stop known bots from auto-completing checkouts.
- Optional: If you want to use a checkpoint challenge for the duration of your event, then select Require that all customers solve a checkpoint challenge before completing checkout.
- In the Products section, select whether you want to protect all published products or only specific products. If you choose to protect specific products, then use the Search Protect products field to add your products to the list of protected products. You can add a maximum of 50 individual products.
- Click Submit.
Customize the checkpoint page
You can customize the look of your checkpoint page by editing your theme code.
Steps
- From your Shopify admin, go to Online Store > Themes.
- Click the ... button > Edit code.
- If this is your first time customizing the checkpoint page, then create a checkpoint template:
- Click Add a new template.
- Select checkpoint.
- In the Templates section, click checkpoint.liquid.
- Make changes to the template code.
- Click Save.
You can preview your custom checkout page by creating a new event and clicking Preview what your customers will see.
Deactivate bot protection
Bot protection deactivates automatically when the scheduled time ends. If enough customers have already purchased from your store, then you can manually deactivate bot protection. To determine this, you need to track your order volume and decide whether you want to deactivate bot protection.
Steps:
- From your Shopify admin, go to Settings > Bot protection.
- Click the active event.
- Click Deactivate.