Dynamic Tags


Rare’s Dynamic Tags feature is  a powerful and intuitive tool for personalizing your email content. You can use Dynamic Tags in Mailout Subject Lines, Preview Text, and email Templates.

In this document you will find:

What is a Dynamic Tag

How to use Dynamic Tags

Supported Tags

More Information


What is a Dynamic Tag?

A Dynamic Tag is used to integrate stored information into a Template. For example, our database collects information about your customers, including their names, the cities they live in, any recent purchases, etc. A Dynamic Tag is a specially-formatted statement you can place in your Mailout that tells our database to “fill in the blank” with a specific piece of information from your database. 

The most commonly used Dynamic Tag used to personalize Mailouts is the customer’s name. For example:


will appear as

"Hello John! Thank you for your recent purchase."

This customer name tag allows us to personalize emails to be specific to each customer and to avoid awkward and generic greetings such as “Dear Occupant” or “Hello Local Resident”.


How to use Dynamic Tags

Dynamic Tags can either be added manually or copied and pasted from the list of supported tags below, but the easiest way to use Dynamic Tags is to choose the ones you need from your Template Editor or Campaign Creator.


Dynamic Tags have their own drop-down menu inside the Template Editor where you can easily insert them by clicking on the one(s) you want.


During the creation of a Campaign, Dynamic Tags can also be included in the Subject Line and/or in the Preview Text by clicking the ‘tag’ button and selecting the tag you want from the list.


Supported Tags

If you’re feeling creative, here is a list of supported Dynamic Tags and variables that you can use to personalize your Templates.

{{ customer.first }} - The first name of the customer

{{ customer.last }} - The last name of the customer

{{ customer.fullname }} - The full name of the customer

{{ customer.email }} - The email of the customer

{{ customer.gender }} - The gender of the customer, ie: "male", "female"

{{ customer.tags }} - The customers tags array, i.e.: {{ customer.tags[0] }}


{{ customer.predictive_products }} - An array of predictive products

{{ customer.last_purchase.name }} - The name of the last item purchased by customer

{{ customer.last_purchase.image }} - The image of the last item purchased by customer

{{ customer.last_purchase.url }} - The url of the last item purchased by customer

{{ checkout.products }} - An array of product objects (automated Mailout only)

{{ order.products }} - An array of product objects (automated Mailout only)

{{ products[...] }} - Product object (based on the index)

{{ products[0].name }}

{{ products[0].image }}

{{ products[0].price }}

{{ products[0].url }}

{{ date.year }} - The current year

{{ date.month }} - The current month

{{ date.monthyear }} - The current month and year

{{ date.time }} - The current timestamp

{{ date.short_time }} - The shortened timestamp

{{ shop.name }} or {{ store.name }} - The shop's display name

{{ shop.url }} or {{ store.url }} - The shop's url

{{ shop.link_name }} or {{ store.link_name }} - The shop's id name

{{ shop.street }} or {{ store.street }} - The shop's street

{{ shop.city }} or {{ store.city }} - The shop's city

{{ shop.state }} or {{ store.state }} - The shop's state

{{ shop.country }} or {{ store.country }} - The shop's country

{{ shop.zip }} or {{ store.zip }} - The shop's zip

{{ shop.postal }} or {{ store.postal }} - The shop's postal

{{ shop.facebook_url }} - The shop's Facebook url setting

{{ shop.twitter_url }} - The shop's Twitter url setting

{{ shop.instagram_url }} - The shop's Instagram url setting

{{ shop.youtube_url }} - The shop's YouTube url setting

{{ shop.pinterest_url }} - The shop's Pinterest url setting

{{ shop.medium_url }} - The shop's Medium url setting

{{ shop.googleplus_url }} - The shop's Google Plus url setting

{{ shop.linkedin_url }} - The shop's LinkedIn url setting

{{ shop.coupon_code }} or {{ store.coupon_code }} - A single coupon code

{{ checkout.url }} - The cart recovery url


The following Template Tags are useful when you want to insert coupon codes, unsubscribe links, or provide other important links or information for recipients:


{% coupon %} - Single use coupon code

{% coupon my coupon group %} - Coupon code from the group "my coupon group"

{% unsubscribe_link %} - A link to unsubscribe

{% unsubscribe %} - A link with text to unsubscribe

{% view_in_browser_url %} Link to view email in a browser

{% view_in_browser %} Link with text to view email in a browser


Template Filters

Template filters provide additional personalization. This includes accessing custom properties for recipients, setting default values, and setting additional formatting options.



{% for product in checkout.products %}

   {{ product.name }}

{% endfor %}



{% for product in order.products %}

   {{ product.name }}

{% endfor %}



Predictive products (provides 3):

{% for product in customer.predictive_products %}

   {{ product.name }}

{% endfor %}



The Default filter is used to specify a default in case a variable doesn’t have a corresponding value. This is useful as placeholder in situations where you don’t have the information you want to include. For example:Screen_Shot_2016-12-09_at_11.36.34_AM.png

will appear as

"Hello John! Thank you for your recent purchase."

If there is no customer name, the above code would appear as:

"Hello there! Thank you for your recent purchase."



More information

Our Dynamic Tags are created using a syntax (similar to Shopify’s liquid syntax) which supports a combination of tags, objects, and filters to load dynamic content.

To learn more about Shopify’s liquid syntax for creating Dynamic Tags click here. 


Our Predictive Content also uses Dynamic Tags. To learn more about the use of Dynamic Tags in our Recommended Products feature, click below:

Predictive Content


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request



Please sign in to leave a comment.