How to use dynamic tags in email

Dynamic tags are placeholders used to personalize your email content by using information you already collected on your contacts or have in your e-commerce data. 

Dynamic tags examples can be first name, last name, total number of orders, reward points, etc. 

Below is a list of available tags separated into groups:

Email Tags:

{$unsubscribeUrl} - Use this tag as the "href" in your <a> tags, for example:

<a href="{$unsubscribeUrl}">Click here to unsubscribe</a>

{$viewInBrowserUrl} - Use this tag as the "href" to support a "view in browser" link, for example:

Can't read this email? <a href="{$viewInBrowserUrl}">Click here</a>

 Store info tags:

{$store.name} – Your store name

Hello! Welcome to {$store.name}

{$store.address} – Your store address

{$store.contactEmail} - Store's contact email

{$store.contactName} - Store's contact name (usually, the person who is listed as the account admin)

{$store.url} – Store’s URL

{$store.logoUrl} – Store’s logo URL

{$date.year} - Current year

{$date.month} - Current month (numeric)

{$date.day} - Current day of month

 

Customer tags (personalization):

{$shopper.firstName} - First name

Hi {$shopper.firstName} !

{$shopper.lastName} - Last name

{$shopper.title} – Title (Mr, Mrs., Dr, etc.)

{$shopper.email} - Contact's email address

{$shopper.countryCode} - Country code (US, CA, etc.)

{$shopper.totalSpent} - All-time total spent

{$shopper.numOrders} - Number of orders

{$shopper.lastOrderDate} - Last order date

{$shopper.address} - Address

{$shopper.city} - City

{$shopper.stateRegion} - State/region

{$shopper.zipCode} - Zip code

{$shopper.phone} - Phone number

{$shopper.customerCredit} - Customer credit

Reward points: {$shopper.totalRewards}

 

Order/Cart Information: These are fields which are taken form a specific order

{$order.createdOn} - Order date

{$order.total} - Order total (by default the order will be displayed with a currency symbol included)

{$order.shipping} - Order shipping

{$order.discount} - Total discount

{$order.couponCode} - Coupon code used in the order

{$order.orderId} - Order ID/Number

{$order.status.name} - Order status (Shipped, processing, etc.)

{$order.status.code} - Order status code

{$order.itemCount} - Number of items in order/cart

{$order.totalTax} - Total tax of the order

 

Coupons

{$coupon.code} - Coupon code (learn more)

{$coupon.expiration} - Coupon expiration date. If you set an expiration date for the dynamic coupon, you can display it like "Coupon will expire on {$coupon.expiration}".

 

For advanced formatting, click here

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.