Help Customers Track Orders

Add a tracking link to Shopify Email Templates

Adding a tracking link to your Shopify email templates is a great way to make the Tracktor page more accessible for customers to track the shipping status of their orders, as well as reduce support requests. 

Currently, this feature is supported on the following email templates:

  • Order Confirmation
  • Shipping Confirmation
  • Shipping Update
  • Shipment Out for Delivery
  • Shipment Delivered

Here's an example of what your customers' emails will look like after you complete the steps below.

Note: If you are using Klaviyo for your email templates, please follow this other document for Klaviyo instructions.

1. Go to your Shopify admin dashboard, click on Settings, then on Notifications.

2. Open the email template from the list above that you'd like to add a tracking link to.

3. Do a search using the keyboard shortcuts (ctrl F or ⌘ F) for the phrase View your order.

If you are on the Shipment Out for Delivery email template, you will want to do so a search for the term Track my shipment instead of View your order.

4. Copy the code snippet below.

<td class="button__cell"><a href="{{shop.url}}/apps/tracktor/track?token={{ email | split: "" | reverse | join: "" | replace: '@', '_-_' | url_encode }}&order={{ | url_encode }}" class="button__text">Track your order</a></td>

If you have customized your Tracktor proxy URL, make sure that you edit the tracking URL code above (normally the /apps/tracktor/ portion) to match your live Tracktor URL.

5. Highlight this section of code.

6. Paste the code snippet you copied there.

7. Copy the code below.

{{ order_status_url }}

8. Do a search using the keyboard shortcuts (ctrl F or ⌘ F) for the phrase Visit our store. There will be two spots that have this phrase. Replace both of those spots of text with View your order.

9. In both of those spots, there will be a bit of code next to them that says {{ shop.url }}. You will replace that code by pasting our previously copied code, as seen below.

10. Save your changes.