Skip to main content

Add your tracking page link to the Shopify email template

Updated over 2 weeks ago

This article to help you update the tracking link in your Shopify and shipping email and your customers will be redirected to your store's tracking page instead of the carrier's website.

  1. Click the Setting on the left side of the app and Enable the Update Shopify's native tracking links.

This feature will change the Tracking link in these places to direct your customers to the tracking page in your store.

  • Shipping Confirmation

  • Shipping update email

  • Out for delivery email

  • Delivered email

2. Then head to Shopify > Settings > Notifications > Customer emails.

Then one-by-one, change the tracking link on the Shipping Confirmation, Shipping Update, Out for Delivery and Delivered Email templates.

3. Update the Tracking number link for each templates.

Search (ctrl F or ⌘ F) for the phrase :

<a href="{{ fulfillment.tracking_url }}">

And change the codes with:

<a href="{{shop.url}}/apps/track123?nums={{ fulfillment.tracking_numbers.first }}">

Note: If you have customized the URL of the Tracking page, the code also needs to change. If not, please ignore it.

For example:

The original tracking URL is: http://yourstore.myshopify.com/apps/track123
You have changed to: http://yourstore.myshopify.com/a/track

So you need to change the code to

<a href="{{shop.url}}/a/track?nums={{ fulfillment.tracking_numbers.first }}">

4. Remove the carrier name (Optional)

To remove the carrier, just search (ctrl F or ⌘ F) for the following codes below and erase them from the template.

 and fulfillment.tracking_company 
{{ fulfillment.tracking_company }}

That's all! Make sure to save your changes, and the tracking link should be added to the email templates. This way, your customers will be redirected to your tracking page instead of the native carrier's site.

Did this answer your question?