Articles on: Flows

Use AfterShip Merge Tags in Emails

Plans: All plans Platforms: Shopify


Merge tags are short-codes that enable you to create customized emails tailored for each recipient. Using AfterShip merge tags, you can achieve a lot more.

For delivering branded marketing emails to avoid activating SPAM filters, use merge tag |STORE_NAME|
For driving additional purchases by providing discounts coupons, use merge tag |COUPON_CODE|
For enabling one-click checkout and recover lost sales due to cart abandonment, use merge tag |ORDER_CHECKOUT_URL|
For adding a personal touch to emails, use merge tag |FIRST_NAME|

What you'll learn

In this tutorial, we'll discuss:

List of AfterShip merge tags for email marketing
How to use merge tags

List of AfterShip merge tags for email marketing

The merge tags that can be enabled for each of the below-mentioned email types are as follows.

Merge tagDescriptionEmail type
STORE_URLIdentifies the eCommerce store URL from which email is comingAll
FIRST_NAMESpecifies the email recipient’s first nameAll
LAST_NAMESpecifies the email recipient’s last nameAll
FULL_NAMESpecifies the email recipient’s full nameAll
WELCOME_COUPON_CODEProvides a promo code to email subscribers. Shoppers can apply the code to their next purchaseWelcome emails
REWARD_TITLESpecifies the reward titleWelcome emails
TOTAL_PRICEGives the total order amountAbandoned cart emails
ORDER_CHECKOUT_URLGives a link to the customer’s abandoned cartAbandoned cart emails

How to use merge tags

You can enable tags for Welcome emails, Abandoned carts, and Order follow-up emails. To modify pre-built AfterShip templates with merge tags, follow the below steps.

Go to Newsletters or Flows in your AfterShip Email admin
Select the type of email you wish to create or customise and click Edit
Click Send email from the flow editor

Now go to the Content tab, down to the Text block
Edit text to insert merge tags from the dropdown
Click the Save button

Based on the merge tags inserted, relevant data will be auto-populated based on the pre-purchase scenario directly to the email.

If you have any queries, feel free to connect with our support team for quick assistance.

Updated on: 15/05/2024

Was this article helpful?

Share your feedback


Thank you!