The Marketing Suite and Publisher let you personalize emails in an easy way. Just incorporate a little piece of code in your email. When sent, the code gets compiled and substitutes the code with the correct credentials of the receiver. By clicking on the links below, you'll find out how to personalize your emails in the Marketing Suite as well as the Publisher:

Personalizing with the Marketing Suite

The fancy drag-and-drop, which you can find inside the Marketing Suite, gives you endless possibilities when creating your emails. The emails sent from this editor are automatically responsive and thus look great on every device or client.

You can personalize emails in several ways: think about a personal greeting with first and last name, show specific piece of content based on interest or don't show a specific product because a customer has recently bought it.



Dear {$profile.firstname}

With this syntax, every piece of data from a database or collection field can be put inside an email. When sent, this code gets evaluated and substituted by the field value in the profile of the receiver.

It's always needed to specify exactly whether a field is called from a profile or from a subprofile. It's perfectly fine to call {$profile.firstname} or {$subprofile.firstname}. You just call the firstname property from a different place.

Display data from a collection in the Marketing Suite

You can also easily display data from a collection. You can do this in two different ways. To display data from the first row of the collection you can use this syntax.


To display data from the next row, you can replace [0] with [1].


To display data from the last row we have to count the rows first. Because we start from zero we have to subtract one of the total amount of rows.

{$profile.collection[{$profile.collection|count -1].fieldname}

The foreach function

To display all subprofiles you can use a foreach function.

{foreach $ item in $ profile.collection}
{/ foreach}

If you do not want to display all fields you can use the if function in combination with the foreach function.

{foreach $item in $profile.collection}{if $item.status == "InShoppingCart"}

If there aren't any subprofiles you can automatically show different content.

{foreach $item in $profile.collection}
If there are subprofiles
If there aren't’ any subprofiles


You can also use variables. This can be useful, for example, if you have created a template that suddenly has to use other database fields.

First you have to define a variable. Then you can use this variable.

{$name = $profile.firstName}

Dear {$name}

You can also store text in a variable.

{$foo = 'hello'}

And you can calculate:

{$total = $profile.product_price * $profile.product_qty}

It's possible to extend the hyperlinks in your emails with data from a profile or subprofile. You can use unique credentials such as ($ and $profile.code) that you can incorporate in a hyperlink. You can make a landing page that recognizes the ID and CODE. Then when users click on that hyperlink, they can be automatically logged in on the page the hyperlink points to.{$}&code={$profile.code}

Where can I personalize in the drag-and-drop editor?

In the Marketing Suite you have an abundance of places where you can apply personalization. These fields can be recognized by the Dollar $ sign in the input field. You can for example edit the 'from name', subject or 'from adres' by adding the code to each of these fields.

More information

Besides personalization there are many more fun things you can do with your templates. You can add videos or GIFs to make your email more interesting or add follow-ups to automate your campaigns. Find out more in the articles below.