Browse by...
Home Resources Blog

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:

.codeblock {
background: #ededed;

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.

This blog provides general information and discussion about email marketing and related subjects. The content provided in this blog ("Content”), should not be construed as and is not intended to constitute financial, legal or tax advice. You should seek the advice of professionals prior to acting upon any information contained in the Content. All Content is provided strictly “as is” and we make no warranty or representation of any kind regarding the Content.
Straight to your inbox

Get the best email and digital marketing content delivered.

Join 250,000 in-the-know marketers and get the latest marketing tips, tactics, and news right in your inbox.


Get started with Campaign Monitor today.

With our powerful yet easy-to-use tools, it's never been easier to make an impact with email marketing.

Try it for free