--> How To Add Twitter Cards Meta Tags To Blogger | Experience Lab - Online business creation and development guide for bloggers and startups

How To Add Twitter Cards Meta Tags To Blogger

The Twitter cards meta tags were the social media meta tags for Twitter which enable any webpage of your blog to become a rich object in s...

The Twitter cards meta tags were the social media meta tags for Twitter which enable any webpage of your blog to become a rich object in social graph. In short when someone tweet your blog post, the tweeted item looks better on Twitter. It works as Facebook Open Graph works for Facebook posts. For example :

If you posted a link of any of your post on Twitter without setting up Twitter cards tags,
it will look like this :

how to add twitter cards to blogger
twitter tweets without twitter cards blogger


Which is not an impressive piece of content. A social media user cancel this instead of tweeting it, But after adding the Twitter cards meta tags it looks like this :


twitter tweets with twitter cards blogger



This is more likely to get clicked and Tweeted by users, so if you want to add, implement or setup Twitter cards social media meta tags to your blogger just follow the given step by step tutorial with images :


Note : If you have already added Facebook open graph tags in your blogger, then you have to add only basic tags because twitter can fetch data from open graph tags except few.

Steps : How To Add Open Twitter Cards Tags To Blogger


Option 1 : If you have already added Open Graph tags for Facebook.


Step 1. Log in to your Blogger account, then go to Dashboard > Template > Edit HTML.


Edit blogger template


Step 2. Click anywhere inside the Template code, then search for the following code ( CTRL+F ) :


<head>


Step 3. Add this code just below it.


<meta content='summary_large_image' name='twitter:card'/>
<meta content='@your-name' name='twitter:site'/>
<meta content='@your-name' name='twitter:creator'/>


adding twitter cards tags to blogger



Step 4. Configuration of Twitter cards tags :


  • Replace your-name with your name or with your blog title.
  • ( Optional ) Change summary_large_image with the type of twitter card.

Types of Twitter card :


  • summary: Default Card, including a title, description, thumbnail, and Twitter account attribution.
  •  summary_large_image: Similar to a Summary Card, but with a prominently featured image ( Recommended ). For more info click here.


Step 5. Click on Save Template.



Option 2 : If you have not added Open Graph tags for Facebook.


Step 1. Log in to your Blogger account, then go to Dashboard > Template > Edit HTML.


Edit blogger template


Step 2. Click anywhere inside the Template code, then search for the following code ( CTRL+F ) :


<head>


Step 3. Add this code just below it.


<meta content='summary_large_image' name='twitter:card'/>
<meta content='@your-name' name='twitter:site'/>
<b:switch var='data:blog.pageType'>
<b:case value='index'/>
<meta expr:content='data:blog.pageTitle' name='twitter:title'/>
<b:default/>
<meta expr:content='data:blog.pageName' name='twitter:title'/>
</b:switch>
<b:if cond='data:blog.metaDescription != &quot;&quot;'>
<meta expr:content='data:blog.metaDescription' name='twitter:description'/>
</b:if>
<meta content='@your-name' name='twitter:creator'/>
<b:switch var='data:blog.pageType'>
<b:case value='item'/>
<meta expr:content='data:blog.postImageUrl' name='twitter:image'/>
<b:default/>
<meta content='img-url-for-home-page' name='twitter:image'/>
</b:switch>


adding twitter cards meta tags to blogger



Step 4. Configuration of Twitter cards tags :


  • Replace your-name with your name or with your blog title.
  • ( Optional ) Change summary_large_image with the type of twitter card.
  • Replace img-url-for-home-page with url of the image you want to show for homepage.

Types of Twitter card :


  • summary: Default Card, including a title, description, thumbnail, and Twitter account attribution.
  •  summary_large_image: Similar to a Summary Card, but with a prominently featured image ( Recommended ). For more info click here.


Step 6. Click Save template.


Enjoy !


Now you will see optimized Title, description, image etc on your Twitter tweet linked with your blogger. If you have any issue use Twitter card Validator . Still not resolved comment below. Stay Updated, Browse Howbloggerz ! :)

COMMENTS

Name

Affiliate Marketing,12,Announcement,34,Bing,9,Bitcoin,38,blog,7,Blogger Resources,42,Blogger Templates,4,blogger tricks,156,Blogging ethics,70,Blogging tips,198,Bugs and Errors,34,Business,9,Copyright Violation,9,CSS and HTMLTricks,95,Designs,8,drop down menu,7,eBook,12,Email Marketing,7,Events,30,Facebook,30,Facebook tricks,49,Google,157,Google AdSense,42,Google Analytics,7,Google Plus,51,Google Plus Tricks,38,Guest Posts,112,home,2,How To,77,Internet,1,JSON Feeds,25,Kitchen Recipes,2,Label Based Sitemap Themes,1,Make Money Online,108,Marketing,16,MBT Blogger Templates,7,Menus,1,News,146,Pages,1,Posts,10,presentations,15,Responsive,10,Reviews,7,SEO,307,Settings,6,Shortcode,15,Sitemap Themes,1,Social Media,155,Technology,7,Templates,1,Tips,2,Tools,1,Traffic Tips,80,Video,19,Web Designing,62,web hosting,18,Webmaster Tools,97,Widgets,199,wordpress,26,
ltr
item
Experience Lab - Online business creation and development guide for bloggers and startups: How To Add Twitter Cards Meta Tags To Blogger
How To Add Twitter Cards Meta Tags To Blogger
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDUnI5cGF_go4cJeG1x3nE1DXYyYSmY-8Lty8awJ0mU0S9IUsWZ6htW-lYFzSo-eFId9oQM3YGlsMfalvLNZ3xxd_awXbUMnThJg8WIEtN12xJA2_V_w1ObpjcX3FQgq04AFtAZrwfhA0/s1600/how-to-add-twitter-cards-to-blogger.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDUnI5cGF_go4cJeG1x3nE1DXYyYSmY-8Lty8awJ0mU0S9IUsWZ6htW-lYFzSo-eFId9oQM3YGlsMfalvLNZ3xxd_awXbUMnThJg8WIEtN12xJA2_V_w1ObpjcX3FQgq04AFtAZrwfhA0/s72-c/how-to-add-twitter-cards-to-blogger.jpg
Experience Lab - Online business creation and development guide for bloggers and startups
https://www.experiencelab.info/2016/02/how-to-add-twitter-cards-meta-tags-to.html
https://www.experiencelab.info/
https://www.experiencelab.info/
https://www.experiencelab.info/2016/02/how-to-add-twitter-cards-meta-tags-to.html
true
2959477579779989044
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy