Jul 15, 2009

Table of Contents Merge Tag

MC:TOC1In the latest MailChimp upgrade we developed an easy way for you to add a table of contents to your newsletter.

The * | MC:TOC | *  dynamic merge tag works by pulling anything from your email that is formatted as Title text, and displaying it as an ordered list complete with bullet points. Each item in your table of contents is then anchor linked to the corresponding blurb in your email.

To add a table of contents to your email, simply insert * | MC:TOC | * where you’d like the contents listing to appear. In the example screen shots you can see that I added some Title text ("In this edition of The MonkeyWrench"), and then added the merge tag below it.

TOCmergeTITLE MC:TOC2

You can also insert a Table of Contents in either the right or left column of a two-column template and the merge tag will work exactly the same way.

(I’ve used extra spaces between the elements of the merge tag so that it will render correctly for those who subscribe to the RSS-to-Email version of the blog.)