Getting Started with Merge Tags
Use merge tags to insert dynamic content, like names or titles, in your emails. Learn about merge tags, where to access them, and how to create new ones.
Get the job done with a pro
From training to full-service marketing, our community of partners can help you make things happen.
Send personalized files for each contact using custom merge tags in your email. You’ll insert URLs into a Mailchimp audience field and use that field's merge tag in your campaign.
In this article, you'll learn how to set up a new merge tag for PDF links that are tailored to individual contacts. You can use this process for any supported file type, including images.
Here are some things to know before you begin this process.
This is a multi-step process. You'll need to complete these tasks in order, in 3 different sections of your Mailchimp account.
To start, you'll work with Mailchimp's content studio and a spreadsheet application such as Excel or Google Sheets. First, upload each contact’s individual PDF to Mailchimp's content studio. Then paste the PDF links into the spreadsheet file. Finally, import the CSV file to a new field in your audience to link the PDFs to an audience field merge tag.
If you have a large number of files to upload and can host the files on your website, skip to step 5 in the following section.
To add PDFs to the content studio and set up the audience update file, follow these steps.
Next, you'll import your CSV file to update your contact information.
From the Audience page of your account, add a new field and start an auto-update import to add links from a CSV file to the new field. Use the new field's merge tag in the Campaign Builder to insert contacts' custom links.
To add a new audience field and import your PDF URLs into it, follow these steps.
Now your audience has a new field to store your PDF links.
In the next step, you'll add your contacts' PDF links to the audience field you created.
To add all the links in one large batch through a CSV import, follow these steps.
Now your imported contacts have a file in the PDF Links field. You can start a targeted email campaign with the new links or view your imported contacts.
To complete the process, you'll work in the Campaigns section of your account. The steps are slightly different for the new builder and classic builder.
Once a PDF file has been added to the new audience field in your contacts, insert the merge tag into an email campaign. When the email is sent, the merge tag will be replaced with the personalized PDF link from the audience field.
To insert the merge tag into a new email using the new builder, follow these steps.
That’s it! You’ve added a merge tag to your email campaign that will display your PDF link to your contacts. Preview and test your email campaign to make sure it works correctly. If you don’t see the desired results, check out our Troubleshooting Merge Tags article.
To insert the merge tag into a new email using the classic builder, follow these steps.
That’s it! You’ve added a merge tag to your email campaign that will display your PDF link to your contacts. Preview and test your email campaign to make sure it works correctly. If you don’t see the desired results, check out our Troubleshooting Merge Tags article.
When you're satisfied with your campaign, send it or schedule it to go out later.
Yes. Follow the same process to send personalized links to any other supported file type.
You can also insert personalized image files (jpg, jpe, jpeg, gif, png, or bmp). This is helpful if you want to include a coupon or small, contact-specific image in your campaign without asking contacts to click a link.
The process to insert a personalized image file is similar to the steps to insert a PDF link with a merge tag, with one small difference. In the audience settings, you'll want to add a new image field type instead of a text field. We'll replace the merge tag with an image instead of a link to a file.
Technical Support
Have a question?
Paid users can log in to access email and chat support.
Use merge tags to insert dynamic content, like names or titles, in your emails. Learn about merge tags, where to access them, and how to create new ones.
Merge tags let you insert dynamic content in your campaigns. Get a list containing each merge tag and how to use it.
Mailchimp provides free file hosting. Upload and share files with your contacts without using traditional attachments.