Slide 1

Slide 1 text

Structured Data in WordPress By Koen Van den Wijngaert

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

We need a way to comb through and make sense of an enormous amount of data.

Slide 4

Slide 4 text

But... Why?

Slide 5

Slide 5 text

I have a dream for the Web become capable of analyzing all the data on the Web – the content, links, and transactions between people and computers. A "Semantic Web", which makes this possible, has yet to emerge, but when it does, the day-to-day mechanisms of trade, bureaucracy and our daily lives will be handled by machines talking to machines. Tim Berners-Lee, 1999

Slide 6

Slide 6 text

Semantic Web “The ultimate goal of Semantic Web is to make the machine to understand the Internet data.” ✓ Technology to describe concepts, relationships between things, and categories of things ✓ Focus on linking and relations: Giant Global Graph

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

WIKIDATA ✓ Open data set van Wikimedia Foundation ✓ 65,351,490 data items that anyone can edit ✓ Used in 58.4% of all English Wikipedia articles ✓ Advanced query service

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

Overall causes of death

Slide 11

Slide 11 text

Most popular fictional surnames

Slide 12

Slide 12 text

Number of battles per year, per country Syria (8) Iraq (5) Ukraine (1)

Slide 13

Slide 13 text

Musicians born in Antwerp, ordered by sitelinks Laura Tesoro Belgian actor and singer 28 André Cluytens French conductor 15 Ann Christy Belgian singer 13 Karel Goeyvaerts Belgian composer 13 Dirk Verbeuren Belgian drummer 12 Jacobus Barbireau musician 11 Carl Verbraeken Belgian composer 10 Tom Barman Belgian musician and film director 10 Albert Grisar Belgian composer 10 Jos Van Immerseel Flemish harpsichordist, pianist and conductor 9

Slide 14

Slide 14 text

Structured Data Making sense of copious amounts of data

Slide 15

Slide 15 text

Structured Data ✓ A common way of categorizing data ✓ Standard way of structuring this data in a machine readable format What do we need?

Slide 16

Slide 16 text

Structured Data ✓ Schemas are types of structured data eg: Person, Place, Event, ... ✓ Sets of schemas are called vocabularies ✓ Most used vocabularies are: Dublin Core, FOAF and Schema.org A common way of categorizing data

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

Schema.org Type Hierarchy Thing CreativeWork Article Book Event Person Organization Place Festival SocialEvent .. . WebSite Patient Residence Accommodation .. . Corporation LocalBusiness NGO

Slide 19

Slide 19 text

Structured Data ✓ RDFa 1.1 Lite ✓ Microdata ✓ JSON-LD Structuring data in a machine readable format

Slide 20

Slide 20 text

Example ✓ Name ✓ Genre ✓ Director ✓ Trailer http://schema.org/Movie

Slide 21

Slide 21 text

RDFa 1.1 Lite

Slide 22

Slide 22 text

Microdata

Slide 23

Slide 23 text

JSON-LD

Slide 24

Slide 24 text

Choosing a format.

Slide 25

Slide 25 text

We currently prefer JSON-LD markup. I think most of the new structured data that are kind of come out for JSON-LD first. So that’s what we prefer. John Mueller, Webmaster Trends Analyst at Google

Slide 26

Slide 26 text

Advanced Uses of Structured Data

Slide 27

Slide 27 text

Advanced Usages ✓ Email Marketing ✓ Accelerated Mobile Pages (AMP) ✓ Screenreaders eg: Speakable ✓ Google Ads ✓ Knowledge Graph ✓ Digital Assistants eg: Using Actions, Speakable ✓ API-Platform

Slide 28

Slide 28 text

Email Marketing: actions

Slide 29

Slide 29 text

Email Marketing: Highlights

Slide 30

Slide 30 text

Accelerated Mobile Pages Fast, optimized versions of your website pages served directly from the search engine’s cache. AMP also heavily relies on structured data.

Slide 31

Slide 31 text

Knowledge Graph

Slide 32

Slide 32 text

Knowledge Graph

Slide 33

Slide 33 text

Implementing Structured Data

Slide 34

Slide 34 text

Implementing Structured Data In a WordPress website ✓ General guidelines ✓ Commonly used types ✓ Using GTM ✓ Coding it yourself ✓ PHP libraries ✓ WordPress Plugins

Slide 35

Slide 35 text

Implementing Structured Data ✓ Add markup to the page it describes ✓ Be as specific as possible when choosing a type ✓ Only markup for content that is shown on the page ✓ Don’t block these pages from search indexing Some general guidelines from Google: developers.google.com/search/docs/guides/intro-structured-data#structured-data-guidelines

Slide 36

Slide 36 text

Common types for SEO ✓ Organization For Google’s knowledge graph ✓ Search box Provides support for a search box in your site links ✓ Breadcrumbs ✓ videoObject These types will make the biggest difference.

Slide 37

Slide 37 text

Common types for SEO E-Commerce ✓ Product ✓ Offer ✓ Review Blog ✓ Article NewsArticle & BlogPosting ✓ ClaimReview ✓ CriticReview

Slide 38

Slide 38 text

Common types for SEO Other types ✓ Recipe ✓ HowTo ✓ Event ✓ Courses ✓ Job Postings

Slide 39

Slide 39 text

Implementing Structured Data A few options.

Slide 40

Slide 40 text

Google Tag Manager It is often recommended on the web to add structured data with Google Tag Manager. Although it is possible, it’s strongly discouraged to do so. Structured data should be added directly in the source code, not loaded in using JavaScript.

Slide 41

Slide 41 text

Coding it yourself

Slide 42

Slide 42 text

✓ torann/json-ld ✓ spatie/schema-org Install them using Composer or by downloading the source directly. Coding it yourself Using PHP libraries

Slide 43

Slide 43 text

spatie/schema-org

Slide 44

Slide 44 text

spatie/schema-org

Slide 45

Slide 45 text

✓ Schema Pro ✓ Schema ✓ Yoast SEO ✓ WordLift * Non exhaustive list. WordPress Plugins Plugins providing schema.org markup integration

Slide 46

Slide 46 text

Schema Pro

Slide 47

Slide 47 text

Schema + (Schema Premium)

Slide 48

Slide 48 text

Yoast SEO ✓ Takes care of data like Organisation and BlogPost ✓ Structured Data Blocks ✓ Entity Graphs ✓ Extensible using premium plugins (eg: local SEO)

Slide 49

Slide 49 text

Yoast SEO

Slide 50

Slide 50 text

Yoast SEO: Structured Blocks

Slide 51

Slide 51 text

Yoast SEO: Structured Blocks Example: FAQ Block

Slide 52

Slide 52 text

Yoast SEO: Structured Blocks Example: FAQ Block

Slide 53

Slide 53 text

Yoast SEO: Structured Blocks Example: FAQ Block

Slide 54

Slide 54 text

Yoast SEO: Entity Graph An entity graph is a representation of a topic, which describes the entities — people, places and things, for instance — and defines their relationships via properties. Or in this case, how your site is connected to your pages, organization, authors et cetera.

Slide 55

Slide 55 text

Yoast SEO: Entity Graph Very easy to hook into using hooks and filters.

Slide 56

Slide 56 text

WordLift Uses AI to automatically analyse and classify your content for you, while you type. WordLift helps you organize posts and pages adding facts, links and media to build beautifully structured websites, for both humans and search engines.

Slide 57

Slide 57 text

WordLift

Slide 58

Slide 58 text

Tools ✓ Schema markup generator ✓ Google Structured Data Testing Tool ✓ Steal our ld+json ✓ JSON-LD Schema Generator by Merkle

Slide 59

Slide 59 text

Thanks for listening! @vdwijngaert Koen Van den Wijngaert SiteOptimo.com