SlideShare a Scribd company logo
1 of 43
HACKING THE GOOGLE SNIPPET 
2 6 TH S E P T EMB E R 2 0 1 4 
Ian Macfarlane 
Head of Technical Search 
Ian@ianmacfarlane.com 
http://ianmacfarlane.com
What we’ll cover today 
• Introduction to Rich Snippets & microdata 
• Exercise – breadcrumb trail (5 mins) 
• Nesting microdata 
• Exercise – nested microdata (10 - 15 mins) 
• Introduction to JSON-LD 
• Exercise – JSON-LD (10 - 15 mins) 
• Wrapping up
A standard Google snippet 
Title 
URL 
Snippet
A modern Google snippet 
Review Breadcrumb trail 
Price Stock 
availability
Why care about this?
How does it increase traffic? 
• Rich Snippets catch people’s attention 
• 15%-30% traffic uplift not uncommon 
• That’s without any increase in rankings
Appear in new places
… or maybe 
(if you’re anything like me) 
you just enjoying playing around 
with shiny new code
Creating Rich Snippets
How to create Rich Snippets 
• It’s simple 
• Just add a little bit of extra code to your web pages 
• Tells search engines what the content is about
Which format? 
data-vocabulary.org 
MICRODATA
Yep, pretty much this…
What data types does Google support? 
• Apps 
• Articles 
• Authors 
• Business phone number 
• Breadcrumbs 
• Events 
• Local business* 
• Organisation logo 
• People 
• Products 
• Publisher (link to G+) 
• Recipes 
• Review 
• Reviews 
• Site search 
• Videos
What does microdata look like?
Here’s some HTML … 
<div> 
<h1>iPhone 6</h1> 
<div>Latest overpriced shiny thing from 
Apple</div> 
<img src="http://www.apple.com/iphone6.png"> 
</div>
Microdata is just adding some new properties 
<div itemscope itemtype="http://schema.org/Product"> 
<h1 itemprop="name">iPhone 6</h1> 
<div itemprop="description">Latest overpriced 
shiny thing from Apple</div> 
<img src="http://www.apple.com/iphone6.png" 
itemprop="image"> 
</div>
Three key attributes 
• itemscope 
– Defines the scope of the object 
– All itemprop values inside this scope relate to the object 
• itemtype 
– Defines the type of object, e.g. a Product or Review 
– Value is a URL e.g. http://schema.org/Product
Three key attributes 
• itemprop 
– Defines a property of the item (e.g. name, price, etc.) 
– There are a variety of types in Schema.org 
• Boolean 
• Date 
• Number 
• Text 
• Time 
– A property can also be another Schema.org object 
(we’ll look at this a bit later)
Here’s that example again 
<div itemscope itemtype="http://schema.org/Product"> 
<h1 itemprop="name">iPhone 6</h1> 
<div itemprop="description">Latest overpriced 
shiny thing from Apple</div> 
<img src="http://www.apple.com/iphone6.png" 
itemprop="image"> 
</div>
Exercise #1 – let’s start off simple 
Breadcrumb trail
Exercise 1 
• Mark up a breadcrumb trail 
• Link: http://goo.gl/JKRlPE 
• Password: “devon”
Nesting objects
Nesting objects 
• You can also nest one object inside another 
• A nested object is a property of the parent object
Example of nesting 
<div itemscope itemtype="http://schema.org/Event"> 
<h1 itemprop="name">Digpen 2015</h1> 
<div itemprop="description">The nicest little 
web conference in the West</div> 
<div itemprop="location" itemscope 
itemtype="http://schema.org/City"> 
<span itemprop="name">Plymouth</span> 
</div> 
</div>
You can nest multiple times 
Hotel 
AggregateRating 
(average review) PostalAddress 
Country 
Parent 
Organisation 
PostalAddress 
Country
Exercise #2 – getting more complex 
Product with reviews
Exercise 2 
• Product with reviews 
• Link: http://goo.gl/IiRPdC 
• Password: “devon”
Introducing JSON-LD
What is JSON-LD 
• A format for linked data 
• Uses JSON syntax – simple key:value pairs 
• Instead of marking up existing on-page content, you 
embed it via a <script> tag
<script type="application/ld+json"> 
{ 
"@context": "http://schema.org", 
"@type": "Schema.org type goes here", 
"property name": "property value" 
} 
</script> 
Simple JSON-LD 
Watch out for 
trailing commas!
Simple JSON-LD 
<script type="application/ld+json"> 
{ 
"@context": "http://schema.org", 
"@type": "Event", 
"name": "Digpen", 
"description": "The nicest little web conference in 
the West" 
} 
</script>
Nesting JSON-LD 
<script type="application/ld+json"> 
{ 
"@context": "http://schema.org", 
"@type": "Event", 
"name": "Digpen", 
"description": "The nicest little web conference in the West", 
"location": { 
"@type": "City", 
"name": "Plymouth" 
} 
} 
</script>
Exercise #3 – trailing comma fun 
JSON-LD
Exercise 3 
• JSON-LD exercise 
• Link: http://goo.gl/z64oRy 
• Password: “devon”
Which format should I use?
Which format? 
data-vocabulary.org 
MICRODATA
Which format should I use? 
• Microformats provide limited data 
• Microformats 2 not supported by search engines 
• RDFa usually ok if you use the Schema.org versions 
– However, industry moving towards newer formats
Which format should I use? 
Use Schema.org… 
… in one of these 
two formats 
MICRODATA
Which format should I use? 
• Microdata 
– Simpler to code – just add properties to existing HTML 
– Reduces code duplication (especially with large text values) 
• JSON-LD 
– Nesting is easier if item properties are all over the page 
– Less error prone to breaking with page layout tweaks
Exercise #4 – if we have time 
Mark up your own site
Thank you 
• Ian Macfarlane 
• ian@ianmacfarlane.com
Documentation 
• Schema.org specification 
– The most important specification, supported by Google, Bing, Yahoo! & Yandex 
• Google’s Rich Snippets documentation 
– Documentation including list of supported formats 
• Google’s Rich Snippets Course List 
– More documentation and information on more supported formats e.g. sitelinks search 
• Google’s customer service numbers specification 
– Documentation on how to specify your company’s phone numbers to Google 
• Google Publisher Markup 
• Documentation on linking your Google+ profile to your website
Tools for testing 
• Rich Snippets Testing Tool 
• Gives snippet preview 
• Corporate Contacts Tester 
• Supports JSON-LD 
• Google Webmaster Tools 
• Shows you all structured data 
Google has found, including 
errors 
• JSON-LD Playground 
• Live error checking as you 
type 
• Bing Markup Validator 
• Check in Bing 
• Yandex data validator 
• Russian search engine

More Related Content

What's hot

Reviewing RESTful Web Apps
Reviewing RESTful Web AppsReviewing RESTful Web Apps
Reviewing RESTful Web AppsTakuto Wada
 
Neo4j Training Cypher
Neo4j Training CypherNeo4j Training Cypher
Neo4j Training CypherMax De Marzi
 
React JS and Search Engines - Patrick Stox at Triangle ReactJS Meetup
React JS and Search Engines - Patrick Stox at Triangle ReactJS MeetupReact JS and Search Engines - Patrick Stox at Triangle ReactJS Meetup
React JS and Search Engines - Patrick Stox at Triangle ReactJS Meetuppatrickstox
 
Dev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDBDev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDBMongoDB
 
Hypermedia: The Missing Element to Building Adaptable Web APIs in Rails
Hypermedia: The Missing Element to Building Adaptable Web APIs in RailsHypermedia: The Missing Element to Building Adaptable Web APIs in Rails
Hypermedia: The Missing Element to Building Adaptable Web APIs in RailsToru Kawamura
 
Ebook Accessibility: Why, How, and What For - ebookcraft 2016 - Laura Brady
Ebook Accessibility: Why, How, and What For - ebookcraft 2016 - Laura BradyEbook Accessibility: Why, How, and What For - ebookcraft 2016 - Laura Brady
Ebook Accessibility: Why, How, and What For - ebookcraft 2016 - Laura BradyBookNet Canada
 
Boilerpipe Integration And Improvement
Boilerpipe Integration And ImprovementBoilerpipe Integration And Improvement
Boilerpipe Integration And ImprovementAllan Huang
 
MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)
MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)
MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)MongoDB
 
What's Next for Page Experience - SMX Next 2021 - Patrick Stox
What's Next for Page Experience - SMX Next 2021 - Patrick StoxWhat's Next for Page Experience - SMX Next 2021 - Patrick Stox
What's Next for Page Experience - SMX Next 2021 - Patrick StoxAhrefs
 
Semantic framework for web scraping.
Semantic framework for web scraping.Semantic framework for web scraping.
Semantic framework for web scraping.Shyjal Raazi
 
HTML CSS Best Practices
HTML CSS Best PracticesHTML CSS Best Practices
HTML CSS Best Practiceshoctudau
 
Introdution to HTML 5
Introdution to HTML 5Introdution to HTML 5
Introdution to HTML 5onkar_bhosle
 
Scraping data from the web and documents
Scraping data from the web and documentsScraping data from the web and documents
Scraping data from the web and documentsTommy Tavenner
 
2010 11 pubcon_hendison_wordpress
2010 11 pubcon_hendison_wordpress2010 11 pubcon_hendison_wordpress
2010 11 pubcon_hendison_wordpressshendison
 
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019patrickstox
 
5 Time-Saving SEO Alerts to Use Right Now - brightonSEO 2019
5 Time-Saving SEO Alerts to Use Right Now - brightonSEO 20195 Time-Saving SEO Alerts to Use Right Now - brightonSEO 2019
5 Time-Saving SEO Alerts to Use Right Now - brightonSEO 2019Marco Bonomo
 
Google Tools For Researchers
Google Tools For ResearchersGoogle Tools For Researchers
Google Tools For Researchersdcsla
 

What's hot (20)

Reviewing RESTful Web Apps
Reviewing RESTful Web AppsReviewing RESTful Web Apps
Reviewing RESTful Web Apps
 
Neo4j Training Cypher
Neo4j Training CypherNeo4j Training Cypher
Neo4j Training Cypher
 
Sq li
Sq liSq li
Sq li
 
React JS and Search Engines - Patrick Stox at Triangle ReactJS Meetup
React JS and Search Engines - Patrick Stox at Triangle ReactJS MeetupReact JS and Search Engines - Patrick Stox at Triangle ReactJS Meetup
React JS and Search Engines - Patrick Stox at Triangle ReactJS Meetup
 
Dev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDBDev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDB
 
Hypermedia: The Missing Element to Building Adaptable Web APIs in Rails
Hypermedia: The Missing Element to Building Adaptable Web APIs in RailsHypermedia: The Missing Element to Building Adaptable Web APIs in Rails
Hypermedia: The Missing Element to Building Adaptable Web APIs in Rails
 
Ebook Accessibility: Why, How, and What For - ebookcraft 2016 - Laura Brady
Ebook Accessibility: Why, How, and What For - ebookcraft 2016 - Laura BradyEbook Accessibility: Why, How, and What For - ebookcraft 2016 - Laura Brady
Ebook Accessibility: Why, How, and What For - ebookcraft 2016 - Laura Brady
 
Boilerpipe Integration And Improvement
Boilerpipe Integration And ImprovementBoilerpipe Integration And Improvement
Boilerpipe Integration And Improvement
 
SEO Audit TNT Express
SEO Audit TNT ExpressSEO Audit TNT Express
SEO Audit TNT Express
 
MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)
MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)
MongoDB Schema Design (Richard Kreuter's Mongo Berlin preso)
 
What's Next for Page Experience - SMX Next 2021 - Patrick Stox
What's Next for Page Experience - SMX Next 2021 - Patrick StoxWhat's Next for Page Experience - SMX Next 2021 - Patrick Stox
What's Next for Page Experience - SMX Next 2021 - Patrick Stox
 
Semantic framework for web scraping.
Semantic framework for web scraping.Semantic framework for web scraping.
Semantic framework for web scraping.
 
HTML CSS Best Practices
HTML CSS Best PracticesHTML CSS Best Practices
HTML CSS Best Practices
 
Introdution to HTML 5
Introdution to HTML 5Introdution to HTML 5
Introdution to HTML 5
 
Screaming Frog PPT
Screaming Frog PPTScreaming Frog PPT
Screaming Frog PPT
 
Scraping data from the web and documents
Scraping data from the web and documentsScraping data from the web and documents
Scraping data from the web and documents
 
2010 11 pubcon_hendison_wordpress
2010 11 pubcon_hendison_wordpress2010 11 pubcon_hendison_wordpress
2010 11 pubcon_hendison_wordpress
 
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019
 
5 Time-Saving SEO Alerts to Use Right Now - brightonSEO 2019
5 Time-Saving SEO Alerts to Use Right Now - brightonSEO 20195 Time-Saving SEO Alerts to Use Right Now - brightonSEO 2019
5 Time-Saving SEO Alerts to Use Right Now - brightonSEO 2019
 
Google Tools For Researchers
Google Tools For ResearchersGoogle Tools For Researchers
Google Tools For Researchers
 

Viewers also liked

20131121student
20131121student20131121student
20131121studentmolakaka
 
Calgary Emergency Plumber Offers Complete Plumbing & Heating Services
Calgary Emergency Plumber Offers Complete Plumbing & Heating ServicesCalgary Emergency Plumber Offers Complete Plumbing & Heating Services
Calgary Emergency Plumber Offers Complete Plumbing & Heating ServicesCalgary Plumbers
 
Conventions Of A Horror Film
Conventions Of A Horror FilmConventions Of A Horror Film
Conventions Of A Horror FilmOvering
 
General Transcription Services
General Transcription ServicesGeneral Transcription Services
General Transcription ServicesContent Pioneers
 
Coventions Of A Horror Film
Coventions Of A Horror FilmCoventions Of A Horror Film
Coventions Of A Horror FilmOvering
 
Asuhan keperawatan pada luka diabetes mellitus..
Asuhan keperawatan pada luka diabetes mellitus..Asuhan keperawatan pada luka diabetes mellitus..
Asuhan keperawatan pada luka diabetes mellitus..Falah123
 
German expressionism, film noir & horror
German expressionism, film noir & horrorGerman expressionism, film noir & horror
German expressionism, film noir & horrorOvering
 
Makalah sejarah-dan-perkembangan-sistem-operasi.
Makalah sejarah-dan-perkembangan-sistem-operasi.Makalah sejarah-dan-perkembangan-sistem-operasi.
Makalah sejarah-dan-perkembangan-sistem-operasi.Falah123
 

Viewers also liked (12)

Get A Dream Slideshow
Get A Dream SlideshowGet A Dream Slideshow
Get A Dream Slideshow
 
20131121student
20131121student20131121student
20131121student
 
Calgary Emergency Plumber Offers Complete Plumbing & Heating Services
Calgary Emergency Plumber Offers Complete Plumbing & Heating ServicesCalgary Emergency Plumber Offers Complete Plumbing & Heating Services
Calgary Emergency Plumber Offers Complete Plumbing & Heating Services
 
Conventions Of A Horror Film
Conventions Of A Horror FilmConventions Of A Horror Film
Conventions Of A Horror Film
 
General Transcription Services
General Transcription ServicesGeneral Transcription Services
General Transcription Services
 
Why we blog
Why we blogWhy we blog
Why we blog
 
Coventions Of A Horror Film
Coventions Of A Horror FilmCoventions Of A Horror Film
Coventions Of A Horror Film
 
Asuhan keperawatan pada luka diabetes mellitus..
Asuhan keperawatan pada luka diabetes mellitus..Asuhan keperawatan pada luka diabetes mellitus..
Asuhan keperawatan pada luka diabetes mellitus..
 
German expressionism, film noir & horror
German expressionism, film noir & horrorGerman expressionism, film noir & horror
German expressionism, film noir & horror
 
Britney spears
Britney spearsBritney spears
Britney spears
 
Tamimi markets
Tamimi marketsTamimi markets
Tamimi markets
 
Makalah sejarah-dan-perkembangan-sistem-operasi.
Makalah sejarah-dan-perkembangan-sistem-operasi.Makalah sejarah-dan-perkembangan-sistem-operasi.
Makalah sejarah-dan-perkembangan-sistem-operasi.
 

Similar to Hack Google Snippet with Microdata & JSON-LD

Supercharging your Organic CTR
Supercharging your Organic CTRSupercharging your Organic CTR
Supercharging your Organic CTRPhil Pearce
 
Pimp your content with structured data
Pimp your content with structured dataPimp your content with structured data
Pimp your content with structured dataloonytoons
 
SEO for Large/Enterprise Websites - Data & Tech Side
SEO for Large/Enterprise Websites - Data & Tech SideSEO for Large/Enterprise Websites - Data & Tech Side
SEO for Large/Enterprise Websites - Data & Tech SideDominic Woodman
 
Useful practices of creation automatic tests by using cucumber jvm
Useful practices of creation automatic tests by using cucumber jvmUseful practices of creation automatic tests by using cucumber jvm
Useful practices of creation automatic tests by using cucumber jvmAnton Shapin
 
SharePoint & jQuery Guide - SPSTC 5/18/2013
SharePoint & jQuery Guide - SPSTC 5/18/2013 SharePoint & jQuery Guide - SPSTC 5/18/2013
SharePoint & jQuery Guide - SPSTC 5/18/2013 Mark Rackley
 
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018Esteve Castells
 
Intranet Case Studies - HNL SPS
Intranet Case Studies - HNL SPSIntranet Case Studies - HNL SPS
Intranet Case Studies - HNL SPSMichael Doyle
 
Webinar: Scaling MongoDB
Webinar: Scaling MongoDBWebinar: Scaling MongoDB
Webinar: Scaling MongoDBMongoDB
 
Microdata semantic-extend
Microdata semantic-extendMicrodata semantic-extend
Microdata semantic-extendSeek Tan
 
How can a data layer help my seo
How can a data layer help my seoHow can a data layer help my seo
How can a data layer help my seoPhil Pearce
 
MongoDB Tick Data Presentation
MongoDB Tick Data PresentationMongoDB Tick Data Presentation
MongoDB Tick Data PresentationMongoDB
 
Small Business SEO Tips and Strategies For 2013 - Chaosmap.com
Small Business SEO Tips and Strategies For 2013 - Chaosmap.comSmall Business SEO Tips and Strategies For 2013 - Chaosmap.com
Small Business SEO Tips and Strategies For 2013 - Chaosmap.comJon Rognerud Chaosmap Digital
 
(Updated) SharePoint & jQuery Guide
(Updated) SharePoint & jQuery Guide(Updated) SharePoint & jQuery Guide
(Updated) SharePoint & jQuery GuideMark Rackley
 
The Offspring of SEO and Semantic Web: SEO++
The Offspring of SEO  and Semantic Web: SEO++ The Offspring of SEO  and Semantic Web: SEO++
The Offspring of SEO and Semantic Web: SEO++ Jay Myers
 
MongoDB at Gilt Groupe
MongoDB at Gilt GroupeMongoDB at Gilt Groupe
MongoDB at Gilt GroupeMongoDB
 

Similar to Hack Google Snippet with Microdata & JSON-LD (20)

SEO for Large Websites
SEO for Large WebsitesSEO for Large Websites
SEO for Large Websites
 
Supercharging your Organic CTR
Supercharging your Organic CTRSupercharging your Organic CTR
Supercharging your Organic CTR
 
Pimp your content with structured data
Pimp your content with structured dataPimp your content with structured data
Pimp your content with structured data
 
SEO for Large/Enterprise Websites - Data & Tech Side
SEO for Large/Enterprise Websites - Data & Tech SideSEO for Large/Enterprise Websites - Data & Tech Side
SEO for Large/Enterprise Websites - Data & Tech Side
 
Useful practices of creation automatic tests by using cucumber jvm
Useful practices of creation automatic tests by using cucumber jvmUseful practices of creation automatic tests by using cucumber jvm
Useful practices of creation automatic tests by using cucumber jvm
 
SharePoint & jQuery Guide - SPSTC 5/18/2013
SharePoint & jQuery Guide - SPSTC 5/18/2013 SharePoint & jQuery Guide - SPSTC 5/18/2013
SharePoint & jQuery Guide - SPSTC 5/18/2013
 
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
 
Intranet Case Studies - HNL SPS
Intranet Case Studies - HNL SPSIntranet Case Studies - HNL SPS
Intranet Case Studies - HNL SPS
 
Webinar: Scaling MongoDB
Webinar: Scaling MongoDBWebinar: Scaling MongoDB
Webinar: Scaling MongoDB
 
Microdata semantic-extend
Microdata semantic-extendMicrodata semantic-extend
Microdata semantic-extend
 
How can a data layer help my seo
How can a data layer help my seoHow can a data layer help my seo
How can a data layer help my seo
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
MongoDB Tick Data Presentation
MongoDB Tick Data PresentationMongoDB Tick Data Presentation
MongoDB Tick Data Presentation
 
Small Business SEO Tips and Strategies For 2013 - Chaosmap.com
Small Business SEO Tips and Strategies For 2013 - Chaosmap.comSmall Business SEO Tips and Strategies For 2013 - Chaosmap.com
Small Business SEO Tips and Strategies For 2013 - Chaosmap.com
 
Adobe & HTML5
Adobe & HTML5Adobe & HTML5
Adobe & HTML5
 
(Updated) SharePoint & jQuery Guide
(Updated) SharePoint & jQuery Guide(Updated) SharePoint & jQuery Guide
(Updated) SharePoint & jQuery Guide
 
The Offspring of SEO and Semantic Web: SEO++
The Offspring of SEO  and Semantic Web: SEO++ The Offspring of SEO  and Semantic Web: SEO++
The Offspring of SEO and Semantic Web: SEO++
 
Digital Marketing Mumbai
Digital Marketing MumbaiDigital Marketing Mumbai
Digital Marketing Mumbai
 
Googlesnippets
GooglesnippetsGooglesnippets
Googlesnippets
 
MongoDB at Gilt Groupe
MongoDB at Gilt GroupeMongoDB at Gilt Groupe
MongoDB at Gilt Groupe
 

Recently uploaded

Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Roomdivyansh0kumar0
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一Fs
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Excelmac1
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Personfurqan222004
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作ys8omjxb
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts servicevipmodelshub1
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Paul Calvano
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationLinaWolf1
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一3sw2qly1
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书zdzoqco
 

Recently uploaded (20)

Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Person
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
 

Hack Google Snippet with Microdata & JSON-LD

  • 1. HACKING THE GOOGLE SNIPPET 2 6 TH S E P T EMB E R 2 0 1 4 Ian Macfarlane Head of Technical Search Ian@ianmacfarlane.com http://ianmacfarlane.com
  • 2. What we’ll cover today • Introduction to Rich Snippets & microdata • Exercise – breadcrumb trail (5 mins) • Nesting microdata • Exercise – nested microdata (10 - 15 mins) • Introduction to JSON-LD • Exercise – JSON-LD (10 - 15 mins) • Wrapping up
  • 3. A standard Google snippet Title URL Snippet
  • 4. A modern Google snippet Review Breadcrumb trail Price Stock availability
  • 6. How does it increase traffic? • Rich Snippets catch people’s attention • 15%-30% traffic uplift not uncommon • That’s without any increase in rankings
  • 7. Appear in new places
  • 8. … or maybe (if you’re anything like me) you just enjoying playing around with shiny new code
  • 10. How to create Rich Snippets • It’s simple • Just add a little bit of extra code to your web pages • Tells search engines what the content is about
  • 12. Yep, pretty much this…
  • 13. What data types does Google support? • Apps • Articles • Authors • Business phone number • Breadcrumbs • Events • Local business* • Organisation logo • People • Products • Publisher (link to G+) • Recipes • Review • Reviews • Site search • Videos
  • 14. What does microdata look like?
  • 15. Here’s some HTML … <div> <h1>iPhone 6</h1> <div>Latest overpriced shiny thing from Apple</div> <img src="http://www.apple.com/iphone6.png"> </div>
  • 16. Microdata is just adding some new properties <div itemscope itemtype="http://schema.org/Product"> <h1 itemprop="name">iPhone 6</h1> <div itemprop="description">Latest overpriced shiny thing from Apple</div> <img src="http://www.apple.com/iphone6.png" itemprop="image"> </div>
  • 17. Three key attributes • itemscope – Defines the scope of the object – All itemprop values inside this scope relate to the object • itemtype – Defines the type of object, e.g. a Product or Review – Value is a URL e.g. http://schema.org/Product
  • 18. Three key attributes • itemprop – Defines a property of the item (e.g. name, price, etc.) – There are a variety of types in Schema.org • Boolean • Date • Number • Text • Time – A property can also be another Schema.org object (we’ll look at this a bit later)
  • 19. Here’s that example again <div itemscope itemtype="http://schema.org/Product"> <h1 itemprop="name">iPhone 6</h1> <div itemprop="description">Latest overpriced shiny thing from Apple</div> <img src="http://www.apple.com/iphone6.png" itemprop="image"> </div>
  • 20. Exercise #1 – let’s start off simple Breadcrumb trail
  • 21. Exercise 1 • Mark up a breadcrumb trail • Link: http://goo.gl/JKRlPE • Password: “devon”
  • 23. Nesting objects • You can also nest one object inside another • A nested object is a property of the parent object
  • 24. Example of nesting <div itemscope itemtype="http://schema.org/Event"> <h1 itemprop="name">Digpen 2015</h1> <div itemprop="description">The nicest little web conference in the West</div> <div itemprop="location" itemscope itemtype="http://schema.org/City"> <span itemprop="name">Plymouth</span> </div> </div>
  • 25. You can nest multiple times Hotel AggregateRating (average review) PostalAddress Country Parent Organisation PostalAddress Country
  • 26. Exercise #2 – getting more complex Product with reviews
  • 27. Exercise 2 • Product with reviews • Link: http://goo.gl/IiRPdC • Password: “devon”
  • 29. What is JSON-LD • A format for linked data • Uses JSON syntax – simple key:value pairs • Instead of marking up existing on-page content, you embed it via a <script> tag
  • 30. <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Schema.org type goes here", "property name": "property value" } </script> Simple JSON-LD Watch out for trailing commas!
  • 31. Simple JSON-LD <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Event", "name": "Digpen", "description": "The nicest little web conference in the West" } </script>
  • 32. Nesting JSON-LD <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Event", "name": "Digpen", "description": "The nicest little web conference in the West", "location": { "@type": "City", "name": "Plymouth" } } </script>
  • 33. Exercise #3 – trailing comma fun JSON-LD
  • 34. Exercise 3 • JSON-LD exercise • Link: http://goo.gl/z64oRy • Password: “devon”
  • 37. Which format should I use? • Microformats provide limited data • Microformats 2 not supported by search engines • RDFa usually ok if you use the Schema.org versions – However, industry moving towards newer formats
  • 38. Which format should I use? Use Schema.org… … in one of these two formats MICRODATA
  • 39. Which format should I use? • Microdata – Simpler to code – just add properties to existing HTML – Reduces code duplication (especially with large text values) • JSON-LD – Nesting is easier if item properties are all over the page – Less error prone to breaking with page layout tweaks
  • 40. Exercise #4 – if we have time Mark up your own site
  • 41. Thank you • Ian Macfarlane • ian@ianmacfarlane.com
  • 42. Documentation • Schema.org specification – The most important specification, supported by Google, Bing, Yahoo! & Yandex • Google’s Rich Snippets documentation – Documentation including list of supported formats • Google’s Rich Snippets Course List – More documentation and information on more supported formats e.g. sitelinks search • Google’s customer service numbers specification – Documentation on how to specify your company’s phone numbers to Google • Google Publisher Markup • Documentation on linking your Google+ profile to your website
  • 43. Tools for testing • Rich Snippets Testing Tool • Gives snippet preview • Corporate Contacts Tester • Supports JSON-LD • Google Webmaster Tools • Shows you all structured data Google has found, including errors • JSON-LD Playground • Live error checking as you type • Bing Markup Validator • Check in Bing • Yandex data validator • Russian search engine

Editor's Notes

  1. Title – uses the <title> tag Snippet – uses the <meta name=“description“ content=“xx”> tag
  2. 30% http://searchengineland.com/how-to-get-a-30-increase-in-ctr-with-structured-markup-105830
  3. In-depth articles Recipes vertical (US only) Video
  4. GWT is listed due to the Data Highlighter tool
  5. https://support.google.com/webmasters/answer/185417?hl=en
  6. https://support.google.com/webmasters/answer/146750?hl=en https://support.google.com/webmasters/answer/172705?hl=en
  7. GWT is listed due to the Data Highlighter tool