What is a merge tag and how to use it?

Merge tag is a bit of code that allows you to insert dynamic data into your campaigns. There are some pre-made merge tags, such as {{FirstName}} for your subscriber's first name or {{SenderInfo}} for your business address. 

You can also use your custom fields as merge tags. As you create and give a label to your new field, a merge tag is automatically assigned to it, but you can adjust it to your needs:

This is what the final merge tag looks like after your new field is created:

To use a merge tag in the drag and drop editor, simply type it anywhere in the body of your email, including the curly brackets, or use the merge tag button from the formatting toolbar.

Some merge tags have an additional option to insert a default value, which will be shown for contacts who don't have any value in the corresponding field. You can specify the default value after selecting the merge tag from the dropdown. You can also simply leave it blank and click "Insert" right away if you prefer that.

To add a merge tag in the Legacy editor, type it anywhere in the body of the email or use the merge tag drop-down and select the appropriate merge tag:

For example, to address your subscriber by their first name, use the {{FirstName}} tag: 

This will be replaced with a dynamic value once the campaign is sent to a subscriber.

You can use this for various scenarios – for example, displaying a unique URL for each of your subscribers or giving them a unique discount code. As long as you store that information as custom fields in EmailOctopus, you can display it in the campaigns using merge tags.

For a full list of our merge tags and more advanced options, head to our customisation cheat sheet.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact us Contact us