We use a complex system of checks for detecting the social profiles associated with a website. Part of it is simple, like checking whether your site is listed in the website field of a social media profile, part of it is more involved. If after we go through our checks we still can’t find the profiles associated with your brand, have no fear, there’s a way you can tell us (and potentially other bots) where to look.
Using schema.org metadata, it’s easy to associate all of your online profiles – both social and local – with your website in just a few lines of code.
Under Schema.org, the organization item sameAs allows “a school, NGO, corporation, club, etc.” to “reference a Web page that unambiguously indicates the item’s identity. E.g. the URL of the item’s Wikipedia page, Freebase page, or official website.” Not an organization? That’s okay. If your website represents you as a brand, this will still be a totally valid method for indicating that your website, social and local profiles go together. Check out the code example below (we recommend putting this near the top of your body tag).
for Example...
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Organization",
"name" : "Mind Your Code",
"url" : "https://www.mindyourcode.com",
"sameAs" : [
"https://twitter.com/mindyourcode",
"https://plus.google.com/+mindyourcode",
"https://www.facebook.com/mindyourcode",
]
}
</script>