How to remove tracking numbers from Shopify native email notifications?

To drive more traffic to your store, it's essential to ensure that your customer cannot track their order anywhere else. We recommend hiding the tracking numbers in Shopify's native email notifications. To learn how to achieve this, please follow our tutorial below.

Tutorial

Go to Shopify Notifications settings

In your Shopify admin, go to Settings > Notifications.

Edit the Shipping confirmation template

Scroll down to the Shipping section and click on Shipping confirmation.

Remove the tracking number code

In the email template editor, find and remove (or comment out) the code block that displays tracking numbers. It typically looks like this:

{% if fulfillment.tracking_numbers.size > 0 %}
  ...
{% endif %}

And/or:

{% if fulfillment.tracking_url %}
  ...
{% endif %}

You can comment it out instead of deleting it by wrapping it with Liquid comments:

{% comment %}
  ... tracking code here ...
{% endcomment %}

Repeat for Shipping update

Go back to Notifications and repeat the same process for the Shipping update email template.

Save

Click Save on each template after editing. Your customers will no longer see tracking numbers in Shopify's native email notifications.