Articles on: Flows

Use AfterShip Merge Tags in Emails

Plans:  All plans Platforms:  Shopify


Overview


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


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


Merge tag

Description

Email type

STORE_URL

Identifies the eCommerce store URL from which email is coming

All

FIRST_NAME

Specifies the email recipient’s first name

All

LAST_NAME

Specifies the email recipient’s last name

All

FULL_NAME

Specifies the email recipient’s full name

All

WELCOME_COUPON_CODE

Provides a promo code to email subscribers. Shoppers can apply the code to their next purchase

Welcome emails

REWARD_TITLE

Specifies the reward title

Welcome emails

TOTAL_PRICE

Gives the total order amount

Abandoned cart emails

ORDER_CHECKOUT_URL

Gives a link to the customer’s abandoned cart

Abandoned 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.


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



  1. Now go to the Content tab, down to the Text block
  2. Edit text to insert merge tags from the dropdown
  3. 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.



For any further questions or help, please contact our chat support team or reach out to us at [email protected].

Updated on: 15/04/2025