Define social media profiles with schema.org markup

Google uses schema.org structured data to show information about a website on their search results pages. Needless to say, it is a good pratice from an SEO point of view to use schema.org microdata when possible.

When performing a Google search for a brand name, you are often greeted with an information box on the right side of the search results. This box includes information about your query; in the case of ‘Google Inc.’ you are shown some basic information such as the current CEO, an introduction text and social media profiles (including social media icons) for the major social platform (i.e. Facebook, LinkedIn, Google+, Twitter and Google’s YouTube).

Search result for Google Inc.
schema.org structured dataYou can have Google show this information for your own website as well. For this information to show up, you have to specify your social profiles to Google with the use of schema.org markup code. Currently, Google supports these types of social profiles: Facebook, Twitter, Google+, Instagram, YouTube, LinkedIn, Myspace, Pinterest, SoundCloud and Tumblr.

When you are an organisation, use the following markup with JSON-LD:

Replace "@type" : "Organization" with "@type" : "Person" if you want to include your personal social media accounts (e.g. for your personal homepage rather than the company page). This piece of code should be inserted into your <head></head> tags of your HTML document(s).

Or, instead of JSON-LD, you could rather implement the schema.org markup code:

Instead of <span></span>, you could also work with a <div></div>. And again, in this example you can swap Organization for Person, depending on your use case.
When you finished implementing the correct markup into your webpage(s), you should check for valid schema.org code to verify search engines correctly identify your code as intended.

All good!

All good! If you want to learn about schema.org, I have plenty of posts about schema.org structured data and I often write about WordPress too.

 

Author Bio

Thank you for your interest in my blog! On this miniblog, I write mostly short (technical) blog posts that might interest other people. Read more about me or feel free to contact me.

 

9 thoughts on “Define social media profiles with schema.org markup

  1. Is JSON-LD the only way to do this? Cause I have no idea what that means or how to work with it. Is there a regular microdata markup for social networks? Thanks.

  2. Hello I have done it in the past but always misses one/two/three of the Social media accounts that I added on the script.

    What could be the problem?

Leave a Reply

Your email address will not be published. Required fields are marked *