Since we introduced <tweet> tags as part of our social sharing update, they’ve featured in roughly 50 million emails and prompted countless tweets. However, while these tags are great for sharing the webversion of your campaign over Twitter, how about instances when you want to share a specific link to a blog post or landing page?

The good news is that it’s easy to add ‘tweet this’ links to your email, with no Javascript required. Here’s the code using Twitter’s “tweet button” format:

Tweet This button

Here’s the same using Web Intents (soon to supersede “tweet buttons”):

Tweet This button

Example: Tweet this! (a tweet box will open in a new window)

Note that you can edit the values of text, via and related. Just like in our <tweet> template tags, the latter two are optional.

A nice touch is that Twitter shortens all included links, using their URL shortener. However, keep in mind that while clicks on ‘tweet this’ links are tracked in your campaign reports, they won’t show up as shares in ‘Social Sharing & Forwards’ reports. To count shares and clicks, you will have to use a 3rd-party service like

Why not use the buttons supplied by Twitter?

The problem with buttons and links built in Twitter’s button generators is that they require Javascript, in part so you can do fancy things like feature a tweet counter on your site. While this is fine on the web, Javascript is either stripped, or disabled in most email clients, resulting in ‘tweet this’ links that just don’t work (or worse, trigger security warnings). For this reason, we flag any HTML code containing Javascript upon import to the app.

Hopefully this post will help the folks out there who have wanted to add ‘tweet this’ links and buttons to their email campaigns.

  • julesj

    I think i read somewhere that this /share thing is going to disappear in the near future.
    Twitter now wants you to use their /intent/ methods. eg;

  • Ros Hodgekiss

    Thank you for the update, julesj – you’re right about Twitter wanting to encourage using Web Intents. A date hasn’t been set for the transition, however I’ve updated the blog post to feature the Web Intents method, which works equally well in HTML emails.

  • Vicky Lalwani

    Thanks for this article Ros, it’s actually quite helpful.

    Fingers crossed they don’t make this disappear anytime soon.

  • Mary

    Thanks for posting this!

Want to improve your email marketing? Subscribe to get tips on improving your email marketing delivered to your inbox.

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free