How to add a customised merge tag in mail chimp

To add a customized merge tag in Mailchimp, follow these steps:

  1. Log in to your Mailchimp account and navigate to the "Audience" tab.
  2. Click on the "Manage Audience" button next to the audience you want to add the merge tag to.
  3. Click on the "Settings" tab.
  4. Scroll down to the "Merge Tags" section.
  5. Click on the "Add a Merge Tag" button.
  6. Enter a name for your merge tag in the "Name" field. This will be the text that appears in your email template where you want to insert the merge tag.
  7. In the "Default Value" field, enter the text or code you want to display when the merge tag is used. For example, if you want to display the subscriber's name, you could enter {{name}}.
  8. In the "Type" dropdown menu, select the type of data you want to merge. For example, "Subscriber" or "List".
  9. In the "Field" dropdown menu, select the specific field you want to merge. For example, "First Name" or "Email Address".
  10. Click the "Save" button to save your merge tag.

Once you've added your merge tag, you can use it in your email template by inserting the merge tag code (e.g. {{name}}) where you want the data to appear.

Here are some examples of customized merge tags you can create:

You can also use conditional merge tags to display different content based on subscriber data. For example:

Note that you can also use merge tags to insert dynamic content from external sources, such as a database or a third-party API. To do this, you'll need to use a custom merge tag with a script tag. For more information, see Mailchimp's documentation on custom merge tags.