How to use variable content in MailChimp?

Posted by Rohit Kumar | Updated on

Want to use variable content in MailChimp? I’ve just created a custom template that makes use of the variable content and after a ironing out a few issues it all worked as expected.

You need to make sure that:

1. the mc:repeatable attribute on each element match up
2. each of the repeatable elements are exactly adjacent to each other
3. the mc:edit on each section is unique (especially if you want to change colours)

Here’s some code that worked for me:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers