Recently Google began allowing for the inclusion of social profiles within their Knowledge Graphs. From a business perspective this additional Knowledge Graph customization will help with a company’s marketing and brand recognition. Below is the quick and easy 2-step process to inform Google of your social media presence and test to ensure Google is able to see the information.
Insert JSON-LD Schema Markup
Use the following code and insert it within the <head> tags for your website. I included the code used on our website as an example. The items you will want to replace are name, url and any of the sameAs values.
<script type=”application/ld+json”>
{ “@context” : “http://schema.org”,
“@type” : “Organization”,
“name” : “Point It”,
“url” : “https://www.pointit.com”,
“sameAs” : [ “https://www.facebook.com/pointit”,
“https://twitter.com/point_it”,
“https://www.linkedin.com/company/point-it”,
“https://plus.google.com/+Pointit”]
}
</script>
Social profiles currently supported by Google are:
- Google+
- YouTube
- Myspace
Test The Script
Once the code is in place for your website, use Google’s Structured Data Testing Tool to ensure it is working correctly and returning the expected results. Click on Fetch URL and type in your website URL. If the results are good, you should see the following:
And you’re done. It will take some time for Google to recrawl and display the results in the Knowledge Graph. For more information from Google on configuration and troubleshooting check out https://developers.google.com/structured-data/customize/social-profiles.
Paul
Great post and easy to understand. Many companies miss the opportunity for making sure they are using shema.org tagging properly.
Sean Van Guilder
Thank you, Paul. Appreciate the comment and completely agree with you about the use of schema markup.
Paul
Great post and easy to understand. Many companies miss the opportunity for making sure they are using shema.org tagging properly.
Sean Van Guilder
Thank you, Paul. Appreciate the comment and completely agree with you about the use of schema markup.
nzden
Hi Sean,
Just wanted to ask you one query. On what pages do you recommend the structured markup be placed? All of them? Just the homepage? I have placed the code in section which mens it appear in all website pages.
Is it fine? or i need to change the code. Please suggest.
Thanks,
Sean Van Guilder
Thank you for the question. Typically, if you are using a content management system, such as WordPress, by default when you place the JSON code between the
tags this will be applied sitewide. But even just placing the code in the tags for the homepage will suffice.nzden
Hi Sean,
Just wanted to ask you one query. On what pages do you recommend the structured markup be placed? All of them? Just the homepage? I have placed the code in section which mens it appear in all website pages.
Is it fine? or i need to change the code. Please suggest.
Thanks,
Sean Van Guilder
Thank you for the question. Typically, if you are using a content management system, such as WordPress, by default when you place the JSON code between the
tags this will be applied sitewide. But even just placing the code in the tags for the homepage will suffice.nzden
Thanks Sean for quick reply. Yes, i have added the code in CMS website head section and the code is sitewide.
I hope it’s not affect to Social Schema. Is it fine not to remove social schema sitewide code from the website? Google will count the schema or i need to placed code only on home page.
Sean Van Guilder
It is fine to have it just on the home page. Also, I looked at your site and I don’t see any Open Graph tags implemented on the site. Highly recommend implementing those and I see you’re using WordPress and All-in-one plugin but recommend using Yoast.
nzden
Thanks Sean for quick reply. Yes, i have added the code in CMS website head section and the code is sitewide.
I hope it’s not affect to Social Schema. Is it fine not to remove social schema sitewide code from the website? Google will count the schema or i need to placed code only on home page.
Sean Van Guilder
It is fine to have it just on the home page. Also, I looked at your site and I don’t see any Open Graph tags implemented on the site. Highly recommend implementing those and I see you’re using WordPress and All-in-one plugin but recommend using Yoast.
Ali
Hi Sean Van Guilder,
Thanks Alot for Wonderful Article, I have try this code for my website, But unfortunately It doesn’t work. Initially, I placed this code in the header tag and waiting for 1 – 2 weeks but no response. I had gone through another article which highlights that place the Json code in the Body Tag then I placed this code in the Body tag But still no response. Kindly suggest me what are the reasons, why my knowledge graph code is not Implemented ???
Secondly, I have gone through your website, pointit.com, I have seen that you have placed knowledge graph code in the header tag, But Google shows your Business Listing only. I can’t found any Wikipedia detail regarding Pointit or Customer Services Number or Social Media Profile Icon as mentioned in attached image (amazon). Kindly help me out in this matter ???
Best Regards
Sean Van Guilder
Hi Ali,
Unfortunately there is no guarantee that Google will honor and start using the code.
Ali
Hi Sean Van Guilder,
Thanks Alot for Wonderful Article, I have try this code for my website, But unfortunately It doesn’t work. Initially, I placed this code in the header tag and waiting for 1 – 2 weeks but no response. I had gone through another article which highlights that place the Json code in the Body Tag then I placed this code in the Body tag But still no response. Kindly suggest me what are the reasons, why my knowledge graph code is not Implemented ???
Secondly, I have gone through your website, Pointit.com, I have seen that you have placed knowledge graph code in the header tag, But Google shows your Business Listing only. I can’t found any Wikipedia detail regarding Pointit or Customer Services Number or Social Media Profile Icon as mentioned in attached image (amazon). Kindly help me out in this matter ???
Best Regards
Sean Van Guilder
Hi Ali,
Unfortunately there is no guarantee that Google will honor and start using the code.
Ali
Thanks alot for quick reply, I want to know, Is there any way that I can Implement Knowledge Graph code for my website ?