Articles on: Notifications

Learn More About AfterShip Tracking Merge Tags


AfterShip Tracking enables you to send personalized delivery notifications to customers via emails, SMS, and Facebook Messenger. You can customize AfterShip Tracking's pre-built notification templates using merge tags, for example, |Tracking_URL|. Merge Tags are short-codes that you can insert in delivery notification messages to send personalized order updates. 

How do the merge tags work?

Merge tags add information like customer’s details, order updates, tracking information, and store’s details for the shipment that triggers the delivery notification. You can choose information to be communicated via delivery notifications.

List of AfterShip merge tags

Below-mentioned are merge tags supported by AfterShip.

Merge TagDescription
STORE_NAMEDisplays the name of your store.
STORE_URLAdds your store's URL.
SENT_FROM_EMAILGives your store's contact email address.
TITLEDisplays the order's title. For example, Order #1004.
TRACKING_NUMBERGives the shipment's tracking number.
TRACKING_LINKAdds URL to your AfterShip branded tracking page. It is an HTML element.
TRACKING_URLURL to your AfterShip branded tracking page.
STATUSDisplays shipment's delivery status. For example, delivered.
DETAILED_STATUSAdds details about the order's delivery status.
LOCATIONGives the current location of the shipment.
LAST_UPDATE_TIMEGives the time when the order status was last updated.
LAST_UPDATE_TIME_USGives the time when the order status was last updated in US format.
COURIERDisplays the courier's name.
ICOURIER_CONTACTGives courier's contact information.
ORDER_IDAdds the order identifier. For example, 1004.
ORDER_PATHGives URL that customers can click to view their order on your eCommerce store.
ICUSTOMER_NAMEAdds the customer's name to the delivery notification.
FIRST_NAMEInserts the customer's first name.
SIGNED_BYDisplays the package receiver's information.
EXPECTED_DELIVERY_USGives the estimated date on which a package is expected to reach the customer in US format. For example, Jan 05, 2020.
EXPECTED_DELIVERYGives the estimated date on which a package is expected to reach the customer. For example, 05 Jan 2020.
SHIPMENT_TYPEDisplays shipment's service type. For example, UPS Express Saver®
NOTEDisplays additional notes (if any).
ITEM_NAMESName of item(s) purchased by the customer.
SALES_NUMBERDisplays the order's sales number.
TO_EMAILDisplays customer's email address.
EMAILSLists all of the customer's emails.
IDIRECT_TRACKING_LINKGives a hyperlink to the courier's tracking page.

Add merge tags

Go to Notifications > Edit template for events you want to notify customers with
Customize the template with merge tags > Save changes

For any further questions or help, please contact our chat support team

Updated on: 15/05/2023

Was this article helpful?

Share your feedback


Thank you!