Sep 21, 2010

New Social Merge Tags for Your MailChimp Campaigns

likebuzztweetWith all the new social features we launched with v5.3, come new social merge tags you can take advantage of. Here’s a quick run-down for you.

FACEBOOK:LIKE:URL – Imagine you’re sending an email about your ski shop’s end of summer sale. You can now manually code a like button for each individual item that you’re advertising and allow people to Like those overalls or ski goggles specifically.

This will also work if you want to allow someone to Like (become a Fan of) your business page. URL here should be the link (including http://) to the item/article/page being Liked.

If you want to use this same logic for the individual articles in an RSS campaign, you can do that too. Just use RSSITEM:LIKE instead. More on that below.

TWITTER:TWEET – In early August Twitter created a Tweet Button to make sharing content around the web one-click simple. We’ve added the button to the top of all our blog posts, and now you can add it to your emails with this simple merge tag. Think of TWITTER:TWEET as a Tweet This button for your entire email campaign.

As an aside, it’s important to note that Twitter will turn your campaign-archive.com link into one that’s shortened with t.co when share via this button.

GOOGLE:BUZZ – Similar to Facebook’s Like and Twitter’s Tweet Button, we wanted to give people the option of sharing links via Google Buzz. Adding the GOOGLE:BUZZ merge tag will allow your readers to easily share your campaign archive link via Buzz.

RSS Campaigns

RSSITEM:LIKE – This merge tag allows you to create a Facebook Like button for each item in your RSS campaign, and the Like will link specifically to an individual item or article.

RSSITEM:BUZZ – Create a Google Buzz share button for each item in your RSS campaign that will allow the individual article to be shared directly to Google Buzz.

RSSITEM:TWITTER – Create a Tweet button for each individual item in your RSS campaign that will allow the individual article to be easily shared via Twitter.

Twitter

|TWITTER:TWEET:[$url=http://blog.mailchimp.com,$text=i heart mailchimp]| – Use this syntax to set the both the URL you want your tweet to link to, as well as the text of the tweet, as you want it to appear on Twitter.

This will only work at the campaign level, so not for individual items.

Facebook

FACEBOOK:COMMENTS – allows you to add Facebook comments to your email. Read all about it here.

FACEBOOK:PROFILEURL – will return a URL to your Profile on Facebook so that you can build a link to it. For example:

< a href="*| FACEBOOK:PROFILEURL |*">my profile< /a> (extra spaces added here so it’ll appear properly in the RSS-to-email version of our blog updates)

FACEBOOK:PROFILEURL:pagename – will return a URL to your Fan Page on Facebook so that you can build a link to it. You can either use the pagename (in bold)– in our case, http://facebook.com/mailchimp— or you can use the ID# if you haven’t set a custom URL for your page. Still confused? Here’s some additional information from our Knowledge Base.

Google Buzz

|GOOGLE:BUZZ:[$url=http://blog.mailchimp.com,$text=i heart mailchimp]| – Use this syntax to set the both the URL you want your post to link to, as well as the text of the post, as you want it to appear on Google Buzz.

Again, this will only work at the full campaign level, so it’s not available for individual items within your email.

Video

Since it doesn’t work to put video inside of your HTML emails, we’ve created video merge tags. They’ll automagically generate a screenshot of your video that links over to the location where the video is hosted online.

With the max_width attribute, you can now set how wide you want the screenshot to be and we’ll scale things appropriately. (Remember, you want to keep your email templates under 600px wide because of email client limitations and preview panes.) So for example, if you want to link to a bunch of videos in the right hand column of your email, you’d use YOUTUBE:xxxx:120. That’ll make sure the video screenshots are only 120px wide and won’t break your template. Video merge tags are currently available for YouTube, Vimeo, Blip.tv and Vzaar.

A video ID consists of letters and numbers, dependent on the service provider. It is present in the URL of the site, found at the top of the browser window. Occasionally, the video ID will be presented within a long URL. If this is the case, the video ID ends before a question mark, as seen in the YouTube and Blip.tv examples.
To use the merge tags, simply copy the video ID into the tag.

YOUTUBE:id:max_width

VIMEO:id:max_width

BLIPTV:id:max_width

VZAAR:id:max_width

The video ID consists of letters and numbers, dependent on the service provider. It is present in the URL of the site, found at the top of the browser window. Occasionally, the video ID will be presented within a long URL. If this is the case, the video ID ends before a question mark, as seen in the YouTube and Blip.tv examples. To use the merge tags, simply copy the video ID into the tag.