A complete guide to Twitter Cards

Twitter Cards are a protocol that allow you to attach rich photos, videos and other interactive media to Tweets in order to drive traffic to your website. Twitter provides a large number of different cards. Moreover, Twitter Cards can be integrated with a few lines of HTML to your webpage. Users linking to your content with a Tweet will get a Card added to the Tweet visible to all their followers.

Twitter Cards are a great partner for your SEO strategy as it helps grow engagement, increase click-through rate and conversions. Twitter Cards can thus improve your content outreach on social media and develop your branding and local SEO.

Understanding the different types of Twitter Cards

There are 5 types of Twitter Cards:

Summary Card

The Summary Card can be used for blog posts, news, product pages or any other business news. Those Cards aim to offer a content preview by displaying your title, description and a thumbnail image.
Requirements:

To add it to your website, you need to paste this code in your webpage HTML:

<meta name=”twitter:card” content=”summary” />
<meta name=”twitter:site” content=”@yoursite” />
<meta name=”twitter:title” content=”Your Title” />
<meta name=”twitter:description” content=”Your description.” />
<meta name=”twitter:image” content=”https://where-your-image-is-hosted/name.jpg” />

Summary Card with large image

These Cards work quite the same as the previous one except the size of the image. It allows to feature a more compelling image in full-width to better attract viewers on your website.
Requirements:

Add this HTML code to set up this type of Twitter Cards:

<meta name=”twitter:card” content=”summary_large_image”>
<meta name=”twitter:site” content=”@yourwebsite”>
<meta name=”twitter:creator” content=”@yourtwitterhandle”>
<meta name=”twitter:title” content=”your title”>
<meta name=”twitter:description” content=”your description.”>
<meta name=”twitter:image” content=”https://where-your-image-is-hosted/name.jpg“>

App Card

App Cards can be used to promote mobile apps on Twitter and increase installs. This Card highlights a name, a description, an icon, a rating and a price. Twitter can use your app IDs to pull some of these informations.
Requirements:

If your app isn’t available in the app store, Twitter won’t be able to take that information. If your app is not located in the US store, indicate in the twitter:app:country meta tag where it comes from. Also, if your link directly points to the App Store or Google Play, Twitter will automatically create an App Card.

Here is the code you should enter:

<meta name=”twitter:card” content=”app”>
<meta name=”twitter:site” content=”@yourwebsite”>
<meta name=”twitter:description” content=”your description”>
<meta name=”twitter:app:country” content=”your country like US”>
<meta name=”twitter:app:name:iphone” content=”your iphone app name”>
<meta name=”twitter:app:id:iphone” content=”your iphone app ID”>
<meta name=”twitter:app:url:iphone” content=”your iphone app URL”>
<meta name=”twitter:app:name:ipad” content=”your ipad app name”>
<meta name=”twitter:app:id:ipad” content=”your ipad app ID”>
<meta name=”twitter:app:url:ipad” content=”your ipad app URL”>
<meta name=”twitter:app:name:googleplay” content=”your googleplay app name”>
<meta name=”twitter:app:id:googleplay” content=”your googleplay add ID”

Player Card

The Player Cards have been created in order to promote streaming media like video or audio player inside your tweet. This is perfect to push Vines or podcast for instance.
Requirements:

Lead Generation Card

Lead Generation Cards are great to connect with potential customers. You can thus collect informations about prospects. People can expresses interest about your business without having to fill out a form or leaving their Twitter account. Usually, their name, twitter handle and email address are already entered so that they don’t need to fill them out.
Requirements:

To nicely set up your Lead Generation Card you need to log in to your Twitter Ads account (even if the Card is free):

[oc-redirect num=1]

How to integrate those Twitter Cards into a CMS?

If your website is working under WordPress, you might want to integrate those Twitter Cards into your system to save time. If we focus on WordPress, there are three plugins you can install:

Twitter offers a nice guide to set up your CMS with Twitter Cards, so you should definitely have a look.

Once this is well set up, you should check if it performs ok on Twitter. Connect to Twitter Card Validator and you will see if everything looks like it should be. We took the example of our last article:

How to check your Twitter Cards performances?

To go further, you might want to have a look at your Twitter Cards behavior. We have recently developed a new feature that allows you to easily check your Twitter Cards (and Open Graphs by the way) performances. You can analyze your Twitter Cards distribution and properties, get insights and access URL details. This is a great partner to your SEO strategy as it improves your social sharing outreach, click-through rate and conversions.