Merge Tags for Twitter

If you've integrated Twitter with MailChimp, use merge tags to add Twitter profile info or sharing buttons to your campaigns. If you're new to merge tags, learn how they work in Getting Started with Merge Tags.

Merge tags for profiles

Use these merge tags to add Twitter profile information to your campaign.

Populates your campaign with your Twitter avatar, follower, tweet, and following counts; a follow link, and your latest tweets.

Populates your campaign with your Twitter avatar, follower, tweet, and following counts; and a follow link. Doesn't include your latest tweets.

Displays your direct Twitter profile URL. For example: http://www.twitter.com/mailchimp.

This lets you control the number of tweets to show in your campaign. Replace 2 with the number of tweets you'd like to display. If you don't include a number, we'll default to your five most recent tweets. Use this in combination with *|TWITTER:PROFILE|* to customize what you're sharing with your subscribers.

Can be used to insert multiple Twitter profiles in your MailChimp campaign. Replace TWITTERUSERNAME with the the Twitter display name of any profile you want to show in your campaign. To work properly, the Twitter feed must be publicly available.

Merge tags for sharing

Use these merge tags in your campaign to encourage subscribers to share your campaign on Twitter.

Adds a Tweet button to your campaign that allows subscribers to share your campaign archive link. By default, the tweet includes your campaign's subject line, your Twitter handle, and a shortened link to your campaign archive page.
Example of the Twitter icon with the *|TWITTER:TWEET|* merge tag is used.
When your recipients click on the Tweet button, a window will open in their browser and allow them to edit and post the tweet.

Includes your own custom text, as opposed to the subject line of your newsletter in your Tweet. Also includes a shortened link to your campaign archive page. It's important to be aware of the following when using this tag:

  • Plain-text only.
  • No quotation marks.
  • $text needs to be lowercase.
  • The space between Tweet and [$text] is intentional and required.
Was this article helpful?
What can we do to improve articles like this?

Technical Support