You can follow these steps to add tracking link to Spently Email templates
You can copy the Subdirectory from Tracking Page as image shown.
1. Navigate to the email template you'd like to add a tracking link.
2. Add a Track Order button if there is none.
3. Build a snippet as following, and paste the whole snippet to button link.
Track Order: {{shop.url}} + Subdirectory just copied + ?order={{ order.name | remove: "#" }}&token={{ email | split: "" | reverse | join: "" | replace: '@', '_-_' | url_encode }}
e.g.
If your Subdirectory of Tracking Page is: /apps/trackingmore
then the whole snippet should be
Track Order: {{shop.url}}/apps/trackingmore?order={{ order.name | remove: "#" }}&token={{ email | split: "" | reverse | join: "" | replace: '@', '_-_' | url_encode }}
4. Export this email template from Spently to Shopify per Spently's guide.
Last update: 2022-10-24 06:05:54