🦙
Alpaco Developer Documentation
  • Introduction
  • Fundamentals
    • What are the fundamentals
    • Creating an email
  • Template
    • Base
    • Blocks
    • Input Groups
      • Input Types
        • Text String
        • Textarea
        • Select
        • Boolean
        • Image
          • Image settings
        • Color Picker
  • Account settings
    • Integrations
    • Merge Tags
  • How to
    • Escape code from the editor
    • Use custom fonts
Powered by GitBook
On this page
  1. Account settings

Merge Tags

PreviousIntegrationsNextEscape code from the editor

Last updated 1 year ago

Only users with role Admin can edit Merge Tags

Many ESPs have support for merge tags or personalization variables, for example to write out a customers first name in the email.

The Alpaco Platform supports a Merge Tag feature, where you can add Merge Tags in Alpaco and define the matching merge tag code in the ESP/Integration.

Creating and using a Merge Tag

In the below example, we have added a Merge Tag with the name First Name. Alpaco automatically creates a tag that you can use within your templates to reference this merge tag, in this case it's [first_name].

For this newly created Merge Tag, I have to specify the corresponding tag in your Email Service Provider(ESP). In this example we'll use Mailchimp:

Now I can go ahead and use the tag [first_name] anywhere in my Template code:

<h1>Hello [first_name]!</h1>

When the Email is exported to Mailchimp, Alpaco will replace the [first_name] tag with the correct Mailchimp tag, *|FNAME|*:

<h1>Hello *|FNAME|*!</h1>