All about Open Graph Tags

A presentation at Mediacom Lectorium in May 2018 in London, UK by Anton Surov

Slide 1

Slide 1

SEO KNOWLEDGE SHARING: SOCIAL META-TAGS

Slide 2

Slide 2

WHAT ARE SOCIAL META-TAGS?

Slide 3

Slide 3

WHAT ARE SOCIAL META-TAGS? Social media meta tags are HTML tags that allow you to make the most out of the content you share from your site. You can determine what information is displayed in the post on Twitter, Facebook, Pinterest and beyond. If your posts, tweets and pins show the right information and are neatly organized, they are much more likely to get more engagements and re-shares.

Slide 4

Slide 4

TYPES A littleOF history SOCIAL of international META-TAGS SEO Open Graph: 27,187,855 websites use OG protocol http://ogp.me/

Slide 5

Slide 5

TYPES A littleOF history SOCIAL of international META-TAGS SEO Open Graph: 27,187,855 websites use OG protocol http://ogp.me/

Slide 6

Slide 6

TYPES A littleOF history SOCIAL of international META-TAGS SEO Open Graph: 27,187,855 websites use OG protocol http://ogp.me/

Slide 7

Slide 7

TYPES A littleOF history SOCIAL of international META-TAGS SEO Open Graph: 27,187,855 websites use OG protocol http://ogp.me/

Slide 8

Slide 8

TYPES A littleOF history SOCIAL of international META-TAGS SEO Open Graph: Twitter Cards: 27,187,855 websites use OG protocol http://ogp.me/ 8,355,895 websites use Twitter Cards https://cards-dev.twitter.com

Slide 9

Slide 9

TYPES A littleOF history SOCIAL of international META-TAGS SEO Open Graph: Twitter Cards: 27,187,855 websites use OG protocol http://ogp.me/ 8,355,895 websites use Twitter Cards https://cards-dev.twitter.com

Slide 10

Slide 10

TYPES A littleOF history SOCIAL of international META-TAGS SEO Open Graph: Twitter Cards: Schema.org: 27,187,855 websites use OG protocol http://ogp.me/ 8,355,895 websites use Twitter Cards https://cards-dev.twitter.com 589,380 results use schema.org/Article http://schema.org/Article

Slide 11

Slide 11

TYPES A littleOF history SOCIAL of international META-TAGS SEO Schema.org: 589,380 results use schema.org/Article http://schema.org/Article

Slide 12

Slide 12

TYPES A littleOF history SOCIAL of international META-TAGS SEO Schema.org: 589,380 results use schema.org/Article http://schema.org/Article

Slide 13

Slide 13

HOW TO USE: OPEN GRAPH

Slide 14

Slide 14

OPEN GRAPH http://ogp.me/ Supported by: Implement with: Debugger: https://developers.facebook.com/tools/debug/ Debugger2: http://iframely.com/debug

Slide 15

Slide 15

LET’S DO IT TOGETHER Bad Example: Good Example:

Slide 16

Slide 16

LET’S DO IT TOGETHER <head> <html xmlns=”http://www.w3.org/1999/xhtml” xmlns:og=”http://ogp.me/ns#” xmlns:fb=”http://www.facebook.com/2008/fbml”> <meta property=”og:title” content=”Emotional Trumps Rational - What can brands learn? /> <meta property=”og:description” content=”After one of the biggest shocks in global politics, we’ve turned our attentions to extracting some brand lessons about winning the hearts of a nation.” /> <meta property=”og:type” content=“Article” /> <meta property=”og:image” content=”http://mediacombeyondadvertising.com/wp-content/uploads/ 2016/11/trump_header.png” /> <meta property=”og:image:width” content=”1200 ” /> <meta property=”og:image:height” content=”627” /> <meta property=”og:url” content=”http://mediacombeyondadvertising.com/emotional-trumps-rational/” /> </head>

Slide 17

Slide 17

LET’S DO IT TOGETHER Bad Example: More Info / Types Good Example: http://ogp.me/

Slide 18

Slide 18

HOW TO USE: TWITTER CARDS

Slide 19

Slide 19

TWITTER CARDS https://dev.twitter.com/cards/overview Supported by: Implement with: Validator: https://cards-dev.twitter.com/validator Debugger: http://iframely.com/debug

Slide 20

Slide 20

TWITTER CARDS: TYPES Summary Card: https://dev.twitter.com/cards/types/summary

Slide 21

Slide 21

TWITTER CARDS: TYPES Summary Card Large Image: https://dev.twitter.com/cards/types/summary

Slide 22

Slide 22

TWITTER CARDS: TYPES App Card: https://dev.twitter.com/cards/types/app

Slide 23

Slide 23

TWITTER CARDS: TYPES Player Card Example: https://dev.twitter.com/cards/types/player Need to be validated: https://dev.twitter.com/cards/types/player

Slide 24

Slide 24

LET’S DO IT TOGETHER Bad Example: Good Example:

Slide 25

Slide 25

LET’S DO IT TOGETHER <head> <meta name=”twitter:card” content=“summary_large_image” /> <meta name=”twitter:site” content=”@thesun”> <meta name=”twitter:creator” content=”@jeremybock”> <meta name=”twitter:title” content=”Trump lashes out at ex-FBI chief “> <meta name=”twitter:description” content=”DONALD Trump has blasted sacked FBI director James Comey – claiming he “lost the confidence” of Washington. President…”> <meta name=”twitter:image” content=”https://www.thesun.co.uk/wpcontent/uploads/2017/05/hd-composite-trumpcomey.jpg?strip=all&quality=100&w=750&h=500&crop=1”> </head>

Slide 26

Slide 26

LET’S DO IT TOGETHER Bad Example: More Info / Types Good Example: https://dev.twitter.com/cards/getting-started

Slide 27

Slide 27

TWITTER ANALYTICS More Info: https://business.twitter.com/en/ help/campaign-measurementand-analytics/twitter-cardanalytics-dashboard.html

Slide 28

Slide 28

HOW TO USE: SCHEMA.ORG – RICH PINS

Slide 29

Slide 29

SCHEMA.ORG – RICH PINS http://schema.org/ Supported by: Implement with: Validator: https://developers.pinterest.com/tools/url-debugger/ Debugger: http://iframely.com/debug Debugger: https://search.google.com/structured-data/testing-tool

Slide 30

Slide 30

RICH PINS - TYPES Article Pins https://developers.pinterest.com/docs/richpins/articles/

Slide 31

Slide 31

RICH PINS - TYPES Product Pins https://developers.pinterest.com/docs/richpins/products/

Slide 32

Slide 32

RICH PINS - TYPES Product Pins https://developers.pinterest.com/docs/richpins/recipes/

Slide 33

Slide 33

LET’S DO IT TOGETHER Bad Example:

Slide 34

Slide 34

LET’S DO IT TOGETHER <head> <meta name=”description” content=”Everyone else is paying attention to other stuff.”> </head> <div> <h1>You’re Too Focused on What You’re Focused On</h1> <p>by Gray Matter</p> <time>APRIL 29, 2017</time> <img src=”https://static01.nyt.com/images/2017/04/30/opinion/sunday/30gr ay/30gray-master768.jpg” alt=”” class=”media-viewer-candidate”/> </div>

Slide 35

Slide 35

LET’S DO IT TOGETHER <head itemscope itemtype=”http://schema.org/Article> <meta itemprop=”description” name=”description” content=”Everyone else is paying attention other stuff.” /> </head>

<div itemscope itemtype=”http://schema.org/Article > <h1 itemprop=“headline” > You’re Too Focused on What You’re Focused On </h1> <p itemprop=“author”> by Gray Matter </p> <time itemprop=”datePublished” > APRIL 29, 2017 </time> <img itemprop=“image “src=”https://static01.nyt.com/images30gray-master768.jpg” /> </div> to

Slide 36

Slide 36

LET’S DO IT TOGETHER Bad Example: More Info / Types Good Example: http://schema.org/Article

Slide 37

Slide 37

CHEAT-SHEET

Slide 38

Slide 38

YOU: THANK YOU!