Wednesday, April 26, 2017

social profiles with schema.org markup on google


Google uses schema.org structured data to highlight the social profiles of a website(organization) or a person on their knowledge Panel. it is a good way as per SEO experts to show an organization company profile in google search knowledge base by using schema.org.
Whenever you will perform a search on Google to check any brand, you will be given that brand's information on Google right side of search. This google knowledge base box will give you an overlook about company CEO name, logo, stock exchange, contact information and social profile, which is now a days very important for any brand to compete in the market.
We can also add for our organization these information by using schema.org structured data to increase our SEO rank and our website traffic.
Now google is supporting a limited range of social media like, Facebook, Twitter, Google+, Instagram, YouTube, LinkedIn, Myspace, Pinterest, SoundCloud and Tumblr. we can use other social profiles also but google does not included that in search results. We can use two way one is JSON-LD and other is microdata.
Here is the example of JSON-LD:
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Person",
  "name": "your name",
  "url": "http://www.your-site.com",
  "sameAs": [
    "http://www.facebook.com/your-profile",
    "http://instagram.com/yourProfile",
    "http://www.linkedin.com/in/yourprofile",
    "http://plus.google.com/your_profile"
  ]
}
</script>

If you want to set for your organization just need to change type to "Organization". you need to add this json-ld part in the head section of your website.
Here is the example for microdata:

<span itemscope itemtype="http://schema.org/Organization">
  <link itemprop="url" href="https://your-company.com">
  <a itemprop="sameAs" href="https://www.facebook.com/your-company">FB</a>
  <a itemprop="sameAs" href="https://www.twitter.com/YourCompany">Twitter</a></span>

you can change Organization to person as per your requirements. once you are finished with coding and you updated on your website then check with view source code its showing their perfectly and then you can check your markup with google structured data from here:
https://search.google.com/structured-data/testing-tool
you can enter directly your page url or paste that specific part of code in testing tool it will show you its working fine or not, if there is any error it will show there also.

No comments:

Post a Comment