SlideShare a Scribd company logo
Structured SEO Data:Structured SEO Data:
An overview and how to for DrupalAn overview and how to for Drupal
Greg Monroe
SolarWinds MSP
Drupal Camp Atlanta 2019
The information here is my own and not the views of my employer
Json Voordrop
Why Use Structured Data?
Improved SEO results because it lets Search Engines understand your
content better
Enhanced display of your content in search results such as:
Site Information
Knowledge graphs
Product panels
Rich snippets
Use by aggregating sites
Better Social Sharing
Higher click thru rates and conversions
Site Information Example
Google: Duke Health
Location: Search results
Knowledge Graphs
Google: Dr Barbour
Location: Right side
Google: Hi Wire Durham
Location: Right side
Product Panels
Search: Samsung TabletsSearch: Best Pizza in Asheville
Rich Snippets / Social
How did they do these?
Search Engine magic sauce…
Social Graphing… who you are, where you are, what you
are/have search(ing/ed) for.
Context specific results pages
Use site specific structured data to find and build the results.
Structured Data Definition
Web pages are often filled with free form text, which is easy for
humans to read but more difficult for computers to understand.
Structured data formats are rules that standardize the structure
and content of a web page. They are additional markup that lets
computers more easily process the text meaning or semantics.
Structured Data
A Fractured Fairy Tale History
In the beginning… HTML metadata definitions:
title, description, keywords
The Babel Period: RSS, RDF, RDFa, Open Graph,
vCard/hCard, hCalendar, FOAF, Twitter Cards, and
the like.
Unified Field Theory – Schema.org
Schema.org
Schema.org is a collaborative, community activity with a
mission to create, maintain, and promote schemas for
structured data on the Internet.
The Schema.org vocabulary can be used with many different
encodings, including RDFa, Microdata and JSON-LD.
These vocabularies cover entities, relationships between
entities and actions, and can easily be extended through a
well-documented extension model.
See: http://www.schema.org/
Schemas
Schemas are a set of 'types' or classes, e.g. Organization
These types are arranged in a hierarchy. E.g. Organization is
derived from Thing and has multiple subtypes like
EducationalOrganization, Corporation, LocalBusiness, and more.
Each type has a set of properties, e.g. Organization has a name
property
Types inherit properties from the type above them.
Schemas Hierarchy Sample
Thing
CreativeWork Event Organization Person Place Product
Corporation EducationalOrganization GovernmentOrganization LocalBusiness MedicalOrganization
Dentist DiagnosticLab Hospital MedicalClinic Pharmacy Physician VeterinaryCare
Type Properties Sample
Has 112 properties
Each has an expected type
the property takes.
Some properties can
reference other types.
Embedding Schema Information
Three choice:
Microdata – Requires span tags and special attributes to be
embedded in HTML
RDFa – Similar to Microdata but requires different attributes inside
the HTML
JSON-LD – Google’s preferred method. Information is added in
JSON format in the HTML as script tags of type application/ld+json
JSON-LD Example
<script type="application/ld+json">
{"@context": "https://schema.org",
"@graph": [{
"@type": "Organization", "additionalType": "Corporation",
"@id": "https://www.solarwindsmsp.com/#organization",
"sameAs": ["https://www.youtube.com/channel/UClnp77HHg4aME-S-3fWQhFw",
"https://twitter.com/solarwindsmsp", "https://www.facebook.com/SolarWindsMSP/"],
"name": "SolarWinds MSP UK Ltd.",
"url": "https://www.solarwindsmsp.com/",
"telephone": "+1 919-957-5099",
"logo": { "@type": "ImageObject", "url": "https://www.solarwindsmsp.com/msp-logo.png",
"width": "649", "height": "256"},
"address": { "@type": "PostalAddress", "streetAddress": "3030 Slater Rd",
"addressLocality": "Morrisville", "addressRegion": "NC",
"postalCode": "27560", "addressCountry": "USA" }}]}
</script>
Linking Objects with
JSON-LD Node Identifiers
@type: Organization
@id: http://my.org/#org
@type: Website
@id: http://my.org/#web
Publisher: {
@type: Organization,
@id: http://my.org/#org
}
InLanguage: en
WorkTranslation: {
@id: http://my.org/de#web
}
@type: Website
@id: http://my.org/de#web
Publisher: {
@type: Organization,
@id: http://my.org/#org
}
InLanguage: de
TranslationOfWork: {
@id: http://my.org/#web
}
See: https://www.w3.org/TR/2014/REC-json-ld-20140116/#node-identifiers
Note: The @id URI can be anywhere on the web, they just have to match.
Quick Case Study: Duke Health
Home Page
Organization
WebSite
Doctor Pages
Physician
AggregateRating
Clinic Pages
MedicalClinic
Person
Hospital Pages
Hospital
Doctor Search
AggregateRating
Blog Articles
Og:title, og:type,
Og:description,
Og:url, og:image,
Og:site_name
Event Pages
Event
Place
Notes:
●
Uses microdata
embedding (ld-json
was too new at the
time)
●
Blended Drupal /
AngularJS site so
most info built into
Angular code and
templates.
Structured Data in Drupal
MetaTag module with Schema.org Metatag FTW!
(drupal.org/project/metatag & drupal.org/project/schema_metatag)
Supports all the major structured data standards, including the a
growing group of Schema.org types
Global defaults based on Tags per content type
Allows for individual pages to be customized
I18N Support
Views support
A Quick Setup Guide
Add and enable the MetaTag module to your site
Recommended Submodules to enable:
Metatag: Open Graph
Metatag: Views
Schema.org Metatag
Schema.org Website
Schema.org Organization
Any other Schema type you think you will need.
A Quick Setup Guide (cont)
Go to Admin Configuration Search and Metadata→ Configuration → Search and Metadata →  → Configuration → Search and Metadata →  → Configuration → Search and Metadata → 
Metatag
Adjust the global and entity defaults.
To allow individual entities to be managed:
Go to the entity’s Manage Fields page (Structure Content Types)→ Configuration → Search and Metadata → 
Add a new field using the Meta Tags type.
If you are using translations, select “User may translate this field”
Metatag Defaults Structure
Global Default
General Categories (Front page, content, taxonomy, etc)
Per Entity Type
– Per Entity
Meta information can be easily ‘automated’ using MetaTags trickle
down defaults and tags referencing entity information
Setting up Default Settings
Setting Defaults
Blog Entry Social Settings
Node.field_featured_image.half_page:height
Simple Data Tagging.. all the Blog author
has to do is create the summary.
Quick Tags Aside
MetaTag Schema- Organization
Global Front Page Settings
MetaTag Schema – Org. (cont)
MetaTag Schema – Org. (cont)
Single Entity Tag Info
Views Metatags
Schema Validation
https://search.google.com/structured-data/testing-tool/u/0/
OG Validation
https://developers.facebook.com/tools/debug/
Some Things to Know
The Schema Metatags modules add a large number of fields to
the edit forms… only use what you need.
Translation linkage properties are only available in the dev
version (Issue #3034233)
Don’t overuse common types like Organization / Website. These
should be on a few pages like the home page or “About” pages.
Adding data via Code
Use the hook:
page_attachments_alter()
Add your JSON encoded
information to the
$attachments parameter.
$attachments['#attached']['html_head']
['my_custom_schema'] = [
[
'#type' => 'html_tag',
'#tag' => "script",
'#value' => theme_build_schema_elements(),
'#attributes' => [
'type' => 'application/ld+json',
],
],
];
Drupal Camp Atlanta 2019
Questions?
?And Thank You
Google: Slideshare CGMonroe Stuctured Data
Drupal.org/u/cgmonroe

More Related Content

PDF
Structured SEO Data: An overview and how to for Drupal
ODP
Search Engine Optimization
PPTX
Henry stewart dam2010_taxonomicsearch_markohurst
PDF
Searching the Web of Data (Tutorial)
PPT
Search Analytics For Content Strategists @CSofNYC
PPT
Understanding Seo At A Glance
PPTX
Nonprofit social graph
PPT
NYC Sem Web Meetup 20090219
Structured SEO Data: An overview and how to for Drupal
Search Engine Optimization
Henry stewart dam2010_taxonomicsearch_markohurst
Searching the Web of Data (Tutorial)
Search Analytics For Content Strategists @CSofNYC
Understanding Seo At A Glance
Nonprofit social graph
NYC Sem Web Meetup 20090219

What's hot (20)

PPTX
Semantic seo and the evolution of queries
PDF
Advanced on-page SEO 2013
PPTX
Structured Data in Web Search
PDF
Enhancing the Privacy Protection of the User Personalized Web Search Using RDF
PDF
Analysis of websites as graphs for SEO
PDF
FundRef on the AAP/PSP panel: CHORUS: A Collaborative Approach to Public Access
PPTX
Bill Slawski SEO and the New Search Results
PPTX
Search Engines After The Semanatic Web
PDF
Ranking in Google Since The Advent of The Knowledge Graph
PPTX
An Introduction to Entities in Semantic Search
PPT
Faceted Navigation of User-Generated Metadata (Calit2 Rescue Seminar Series 2...
PPTX
Sem tech2013 tutorial
PPTX
Semantic Search at Yahoo
PDF
SEO for Developers
PPTX
Semantic Web, e-commerce
PPT
Hands-on Microformats
PPTX
Semtech bizsemanticsearchtutorial
PPT
Implementing Semantic Search
PDF
Overview of our insights channeling system
Semantic seo and the evolution of queries
Advanced on-page SEO 2013
Structured Data in Web Search
Enhancing the Privacy Protection of the User Personalized Web Search Using RDF
Analysis of websites as graphs for SEO
FundRef on the AAP/PSP panel: CHORUS: A Collaborative Approach to Public Access
Bill Slawski SEO and the New Search Results
Search Engines After The Semanatic Web
Ranking in Google Since The Advent of The Knowledge Graph
An Introduction to Entities in Semantic Search
Faceted Navigation of User-Generated Metadata (Calit2 Rescue Seminar Series 2...
Sem tech2013 tutorial
Semantic Search at Yahoo
SEO for Developers
Semantic Web, e-commerce
Hands-on Microformats
Semtech bizsemanticsearchtutorial
Implementing Semantic Search
Overview of our insights channeling system
Ad

Similar to Structured SEO Data Overview and How To (20)

PDF
Content Knowledge Graphs: Powering Your SEO & Content Strategy
PPTX
SMXL Milan Schema Markup Masterclass
PPTX
What's New with Schema and Structured Data - Max Prin - SMX Advanced 2019
PDF
Microformats I: What & Why
PDF
Taking the Scary Out of Schema
PDF
From Knowledge Graphs to AI-powered SEO: Using taxonomies, schemas and knowle...
PDF
Pratical Deep Dive into the Semantic Web - #smconnect
PPTX
Recent Trends in Semantic Search Technologies
PPT
EmployeePages The next generation staff directory
PDF
How Structured data benefits search engines and user experience
PDF
Enterprise Knowledge Graphs - Data Summit 2024
PPTX
Smartlogic, Semaphore and Semantically Enhanced Search – For “Discovery”
PPTX
Smartlogic, Semaphore and Semantically Enhanced Search – For “Discovery”
PPTX
NLP for entity-based and semantic SEO - Contference.pptx
PPT
Search Analytics: Conversations with Your Customers
PPT
Spivack Blogtalk 2008
PPTX
Semantic framework for web scraping.
PPTX
Solving Enterprise Search Challenges with SharePoint 2010 by Matthew McDermot...
PPTX
Optimizing Your Practice for Online Visibility
PDF
Strategies for using knowledge graphs and entities in search engine optimizat...
Content Knowledge Graphs: Powering Your SEO & Content Strategy
SMXL Milan Schema Markup Masterclass
What's New with Schema and Structured Data - Max Prin - SMX Advanced 2019
Microformats I: What & Why
Taking the Scary Out of Schema
From Knowledge Graphs to AI-powered SEO: Using taxonomies, schemas and knowle...
Pratical Deep Dive into the Semantic Web - #smconnect
Recent Trends in Semantic Search Technologies
EmployeePages The next generation staff directory
How Structured data benefits search engines and user experience
Enterprise Knowledge Graphs - Data Summit 2024
Smartlogic, Semaphore and Semantically Enhanced Search – For “Discovery”
Smartlogic, Semaphore and Semantically Enhanced Search – For “Discovery”
NLP for entity-based and semantic SEO - Contference.pptx
Search Analytics: Conversations with Your Customers
Spivack Blogtalk 2008
Semantic framework for web scraping.
Solving Enterprise Search Challenges with SharePoint 2010 by Matthew McDermot...
Optimizing Your Practice for Online Visibility
Strategies for using knowledge graphs and entities in search engine optimizat...
Ad

More from cgmonroe (12)

PDF
Tips on Securing Drupal Sites - DrupalCamp Atlanta (DCA)
PDF
Tips on Securing Drupal Sites
PDF
Becoming "Facet"-nated with Search API
ODP
Intro to drupal module internals asheville
ODP
Using Content Delivery Networks with Drupal
ODP
Solr facets and custom indices
PPTX
HTML Purifier, WYSIWYG, and TinyMCE
PPTX
Using the Features API
PPTX
The Drupal Strongarm Module - Tips and Tricks.
PPT
Intro to CSS Selectors in Drupal
PPT
Drupal Workflow Concepts
PPTX
TriDUG WebFM Presentation
Tips on Securing Drupal Sites - DrupalCamp Atlanta (DCA)
Tips on Securing Drupal Sites
Becoming "Facet"-nated with Search API
Intro to drupal module internals asheville
Using Content Delivery Networks with Drupal
Solr facets and custom indices
HTML Purifier, WYSIWYG, and TinyMCE
Using the Features API
The Drupal Strongarm Module - Tips and Tricks.
Intro to CSS Selectors in Drupal
Drupal Workflow Concepts
TriDUG WebFM Presentation

Recently uploaded (20)

PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Approach and Philosophy of On baking technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Encapsulation theory and applications.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Empathic Computing: Creating Shared Understanding
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Big Data Technologies - Introduction.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Approach and Philosophy of On baking technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
Encapsulation theory and applications.pdf
Review of recent advances in non-invasive hemoglobin estimation
Digital-Transformation-Roadmap-for-Companies.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Mobile App Security Testing_ A Comprehensive Guide.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
NewMind AI Weekly Chronicles - August'25 Week I
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Spectral efficient network and resource selection model in 5G networks
Empathic Computing: Creating Shared Understanding
The AUB Centre for AI in Media Proposal.docx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Big Data Technologies - Introduction.pptx

Structured SEO Data Overview and How To

  • 1. Structured SEO Data:Structured SEO Data: An overview and how to for DrupalAn overview and how to for Drupal Greg Monroe SolarWinds MSP Drupal Camp Atlanta 2019 The information here is my own and not the views of my employer Json Voordrop
  • 2. Why Use Structured Data? Improved SEO results because it lets Search Engines understand your content better Enhanced display of your content in search results such as: Site Information Knowledge graphs Product panels Rich snippets Use by aggregating sites Better Social Sharing Higher click thru rates and conversions
  • 3. Site Information Example Google: Duke Health Location: Search results
  • 4. Knowledge Graphs Google: Dr Barbour Location: Right side Google: Hi Wire Durham Location: Right side
  • 5. Product Panels Search: Samsung TabletsSearch: Best Pizza in Asheville
  • 7. How did they do these? Search Engine magic sauce… Social Graphing… who you are, where you are, what you are/have search(ing/ed) for. Context specific results pages Use site specific structured data to find and build the results.
  • 8. Structured Data Definition Web pages are often filled with free form text, which is easy for humans to read but more difficult for computers to understand. Structured data formats are rules that standardize the structure and content of a web page. They are additional markup that lets computers more easily process the text meaning or semantics.
  • 9. Structured Data A Fractured Fairy Tale History In the beginning… HTML metadata definitions: title, description, keywords The Babel Period: RSS, RDF, RDFa, Open Graph, vCard/hCard, hCalendar, FOAF, Twitter Cards, and the like. Unified Field Theory – Schema.org
  • 10. Schema.org Schema.org is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet. The Schema.org vocabulary can be used with many different encodings, including RDFa, Microdata and JSON-LD. These vocabularies cover entities, relationships between entities and actions, and can easily be extended through a well-documented extension model. See: http://www.schema.org/
  • 11. Schemas Schemas are a set of 'types' or classes, e.g. Organization These types are arranged in a hierarchy. E.g. Organization is derived from Thing and has multiple subtypes like EducationalOrganization, Corporation, LocalBusiness, and more. Each type has a set of properties, e.g. Organization has a name property Types inherit properties from the type above them.
  • 12. Schemas Hierarchy Sample Thing CreativeWork Event Organization Person Place Product Corporation EducationalOrganization GovernmentOrganization LocalBusiness MedicalOrganization Dentist DiagnosticLab Hospital MedicalClinic Pharmacy Physician VeterinaryCare
  • 13. Type Properties Sample Has 112 properties Each has an expected type the property takes. Some properties can reference other types.
  • 14. Embedding Schema Information Three choice: Microdata – Requires span tags and special attributes to be embedded in HTML RDFa – Similar to Microdata but requires different attributes inside the HTML JSON-LD – Google’s preferred method. Information is added in JSON format in the HTML as script tags of type application/ld+json
  • 15. JSON-LD Example <script type="application/ld+json"> {"@context": "https://schema.org", "@graph": [{ "@type": "Organization", "additionalType": "Corporation", "@id": "https://www.solarwindsmsp.com/#organization", "sameAs": ["https://www.youtube.com/channel/UClnp77HHg4aME-S-3fWQhFw", "https://twitter.com/solarwindsmsp", "https://www.facebook.com/SolarWindsMSP/"], "name": "SolarWinds MSP UK Ltd.", "url": "https://www.solarwindsmsp.com/", "telephone": "+1 919-957-5099", "logo": { "@type": "ImageObject", "url": "https://www.solarwindsmsp.com/msp-logo.png", "width": "649", "height": "256"}, "address": { "@type": "PostalAddress", "streetAddress": "3030 Slater Rd", "addressLocality": "Morrisville", "addressRegion": "NC", "postalCode": "27560", "addressCountry": "USA" }}]} </script>
  • 16. Linking Objects with JSON-LD Node Identifiers @type: Organization @id: http://my.org/#org @type: Website @id: http://my.org/#web Publisher: { @type: Organization, @id: http://my.org/#org } InLanguage: en WorkTranslation: { @id: http://my.org/de#web } @type: Website @id: http://my.org/de#web Publisher: { @type: Organization, @id: http://my.org/#org } InLanguage: de TranslationOfWork: { @id: http://my.org/#web } See: https://www.w3.org/TR/2014/REC-json-ld-20140116/#node-identifiers Note: The @id URI can be anywhere on the web, they just have to match.
  • 17. Quick Case Study: Duke Health Home Page Organization WebSite Doctor Pages Physician AggregateRating Clinic Pages MedicalClinic Person Hospital Pages Hospital Doctor Search AggregateRating Blog Articles Og:title, og:type, Og:description, Og:url, og:image, Og:site_name Event Pages Event Place Notes: ● Uses microdata embedding (ld-json was too new at the time) ● Blended Drupal / AngularJS site so most info built into Angular code and templates.
  • 18. Structured Data in Drupal MetaTag module with Schema.org Metatag FTW! (drupal.org/project/metatag & drupal.org/project/schema_metatag) Supports all the major structured data standards, including the a growing group of Schema.org types Global defaults based on Tags per content type Allows for individual pages to be customized I18N Support Views support
  • 19. A Quick Setup Guide Add and enable the MetaTag module to your site Recommended Submodules to enable: Metatag: Open Graph Metatag: Views Schema.org Metatag Schema.org Website Schema.org Organization Any other Schema type you think you will need.
  • 20. A Quick Setup Guide (cont) Go to Admin Configuration Search and Metadata→ Configuration → Search and Metadata → → Configuration → Search and Metadata → → Configuration → Search and Metadata → Metatag Adjust the global and entity defaults. To allow individual entities to be managed: Go to the entity’s Manage Fields page (Structure Content Types)→ Configuration → Search and Metadata → Add a new field using the Meta Tags type. If you are using translations, select “User may translate this field”
  • 21. Metatag Defaults Structure Global Default General Categories (Front page, content, taxonomy, etc) Per Entity Type – Per Entity Meta information can be easily ‘automated’ using MetaTags trickle down defaults and tags referencing entity information
  • 22. Setting up Default Settings
  • 24. Blog Entry Social Settings Node.field_featured_image.half_page:height Simple Data Tagging.. all the Blog author has to do is create the summary.
  • 26. MetaTag Schema- Organization Global Front Page Settings
  • 27. MetaTag Schema – Org. (cont)
  • 28. MetaTag Schema – Org. (cont)
  • 33. Some Things to Know The Schema Metatags modules add a large number of fields to the edit forms… only use what you need. Translation linkage properties are only available in the dev version (Issue #3034233) Don’t overuse common types like Organization / Website. These should be on a few pages like the home page or “About” pages.
  • 34. Adding data via Code Use the hook: page_attachments_alter() Add your JSON encoded information to the $attachments parameter. $attachments['#attached']['html_head'] ['my_custom_schema'] = [ [ '#type' => 'html_tag', '#tag' => "script", '#value' => theme_build_schema_elements(), '#attributes' => [ 'type' => 'application/ld+json', ], ], ];
  • 35. Drupal Camp Atlanta 2019 Questions? ?And Thank You Google: Slideshare CGMonroe Stuctured Data Drupal.org/u/cgmonroe