Understanding link protection on your online store

Link protection helps to keep your customers away from fake checkouts and phishing websites. When a link or a script on your online store tries to send a customer to a website that Shopify has identified as fraudulent, Shopify blocks the link and the customer stays on your store.

For a small number of other websites, a confirmation message asks customers to confirm before they leave your store. Links to all other websites work as usual, and customers go to them directly.

If you're a customer of the store, then refer to Respond as a customer. If you own the store, then refer to Manage link protection as a merchant.

How link protection works

When Shopify blocks a link, the customer gets a page titled This link has been blocked, which includes the address of the blocked website. The customer can't continue to the website. The only option is Back to [store name], which returns the customer to your store.

Shopify blocks links to websites that it has identified as fraudulent, such as fake checkouts and phishing websites. The list of these websites changes over time, so a link that worked before can be blocked later.

For a small number of other websites that Shopify treats as higher risk, the customer gets a confirmation message titled Are you sure you want to leave [store name]? instead. The message includes the address of the other website and has the following options:

  • Back to [store name]: Returns the customer to your store.
  • Go to site: Opens the other website.

Links to the following destinations are never blocked, and they never ask customers to confirm:

  • Your store's domains and their subdomains, as listed on the Domains page of your Shopify admin
  • Your store's checkout
  • Shopify pages that your store uses, such as customer accounts and Shop Pay
  • Popular social networks, such as Facebook, Instagram, TikTok, and YouTube

Link protection doesn't apply when customers use the back and forward buttons in their browser, or when they click an email or phone link.

Respond as a customer

If you get the This link has been blocked page, then click Back to [store name]. Don't try to open the website another way, and never enter payment or login details on it.

If you get the Are you sure you want to leave [store name]? message, then review the website address before you continue:

  • If you recognize the website and you expected to go there, such as a review website that the store links to, then click Go to site.
  • If you don't recognize the website, then click Back to [store name].
  • If you expected to stay on the store, such as when you clicked a button to add a product to your cart or to check out, then click Back to [store name].

Never enter payment details on a website that you don't recognize. If you think that a store is trying to trick customers, then report the store to Shopify.

Manage link protection as a merchant

Link protection is on for all online stores, and you don't need to set anything up. If customers get the confirmation message for a website that you know and trust, then you can add its domain as a trusted domain.

In the following situations, an app or the code in your theme might be sending customers to another website:

  • Customers report a blocked link or the confirmation message when they click a link that should keep them on your store.
  • The page or message names a website that you don't recognize.

To investigate, take the following steps:

  1. Ask the customer which page they were on, what they clicked, and which website the page or message named.
  2. Review the apps that you recently installed or updated, and the code in your theme. For steps, refer to Troubleshooting your online store theme.
  3. Contact Shopify Support, and include the page, the website that the page or message named, and a screenshot.

If you think that Shopify blocked a website by mistake, then contact Shopify Support and include the address of the website.

Manage trusted domains

You can add the domain of an external website to the Trusted domains section of the Online Store > Preferences page in your Shopify admin. Trusted domains are websites outside your store that you know and trust, such as a booking service or a partner's website. Links to a trusted domain usually don't ask customers to confirm before they leave your store. Customers might still get the confirmation message when their browser doesn't indicate that they clicked the link on your store.

A trusted domain also includes all of its subdomains. For example, if you add example.com, then links to shop.example.com and help.example.com are also trusted. A different domain that ends with the same text, such as notexample.com, isn't included. You don't need to add the destinations that link protection never asks about, such as your store's domains.

Add a trusted domain

You can't add only a domain extension that many unrelated websites share, such as co.uk. Enter a full domain, such as example.co.uk. For some domains, such as a website on a hosting platform that anyone can use, you need to confirm that you know who runs the website before you can add it.

Steps:

  1. From your Shopify admin, go to Online Store > Preferences.

  2. In the Trusted domains section, enter only the domain, such as example.com. Don't include https:// or a path, such as example.com/page.

  3. Click Add.

  4. If the I know and trust who runs this site checkbox is displayed, then confirm that you know who runs the website, and select the checkbox.

  5. If you selected the checkbox, then click Add again.

Remove a trusted domain

After you remove a domain from your trusted domains, links to that domain and its subdomains go back to the default link protection behavior.

Steps:

  1. From your Shopify admin, go to Online Store > Preferences.

  2. In the Trusted domains section, click the Delete icon beside the domain.