Add a tracking link to your Shopify email templates. This will allow customers to track their orders directly on your store’s tracking page with a single click.
Currently supported in the following 5 Shopify email templates:
Order confirmation, Shipping confirmation, Shipping update, Out for delivery, Delivered
Here’s what the Order confirmation email looks like after completing the steps below:
Here is the instruction
Step 1
Go to Shopify admin → Settings → Notifications → Customer notifications → select the template where you’d like to add the tracking link (e.g. Order confirmation) → click the Edit code button
Step 2
Make sure Email body (HTML) is checked → search (Ctrl + F or ⌘ + F) for the phrase View your order → replace it with Track your order
Note: If you’re editing the Out for delivery email template, search for the phrase Track my shipment instead of View your order
Step 3
Make sure Email body (HTML) is checked → search (Ctrl + F or ⌘ + F) for the phrase {{ order_status_url }} → replace it with the code below:
{{shop.url}}/apps/parcelpanel?order={{ order.name | remove: '#' }}&token={{ email | split: '' | reverse | join: '' | replace: '@', '_-_' | url_encode }}
Note: If you’ve changed the tracking page URL, please update the old URL /apps/parcelpanel in the code to match your new URL.
For example, if you’ve updated it to /a/tracking, then you should use the following code:
{{shop.url}}/a/tracking?order={{ order.name | remove: '#' }}&token={{ email | split: '' | reverse | join: '' | replace: '@', '_-_' | url_encode }}
Step 4
Make sure Email body (HTML) is checked → search (Ctrl + F or ⌘ + F) for the phrase Visit our store — you’ll find it in two places → replace both with View your order
Step 5
Make sure Email body (HTML) is checked → search (Ctrl + F or ⌘ + F) for the phrase {{ shop.url }} — it appears in two places → replace both with the code below:
{{ order_status_url }}
Step 6
Save your chages
Need help? Feel free to contact us via online chat or email, our world-class 24/7 support team is always glad to help you 🧐