Academy

What is a merge tag?

What is a merge tag?

Explanation

Alvas uses custom properties to store the unique texts inside your email system.

We store all the texts on the profile because it allows us to use them dynamically inside emails.

Here is an example of a profile with stored texts in Klaviyo:

Guide image

The way for you to use these texts that are stored on a profile is through a merge tag. 

Here is an example of a classic merge tag:

  • {{ first_name|default:'there' }}

This tag will be populated with the person's name, e.g. "Villads" or if there is no name available "there" will be shown as a default fallback.

Alvas uses mergetags like this:

  • {{ person|lookup:"Alvas_Email_126_footer"|default:"Cheers, MAROKK🙌" }}

This tag will be populated with the Footter from the Alvas email, with the ID 126.

If there is a subject line with the ID stored on the profile when the email is sent, a default fallback text "You abandoned your cart!🛒" will be inserted instead.

Here is an example of what a template would look like with the merge tag.

Guide image