** "Linking" Your Website to Your G+ Listing Using Schema.org Markup **
I'm sure we're all familiar with using the rel="publisher" tag to "link" a site to a G+ page or local listing, but how about using schema markup?
I've been using this little piece of code on my last few projects.
It's really easy to implement, so here's hoping it helps some people out.
Pre-requisite - for best results you'll need the G+ Local listing published on the web. You could link to a brand page, but our priority should be ranking the local listing.
Using a fun spot I take my son from time to time as an example, here's the code:
<a itemprop="sameAs" href="https://plus.google.com/+cosmicadventures/about
" target="_blank" title="Google Plus Local Page">Google Plus Local Page</a>
*note the title attribute and anchor text doesn't really matter as long as it's descriptive.
Just put that between the div tags for the schema type - which usually looks something like this:
<div itemscope itemtype="http://schema.org/LocalBusiness
/* input code snippet above here */
Basically, that code is telling Google (and other crawlers) that the current page is the same as the referenced URL. To quote from schema.org
- "URL of a reference Web page that unambiguously indicates the item's identity."
I like that word, "unambiguously"
** Why Use It? **
To the best of my knowledge, the publisher tag is Google-only, while Schema markup is read by the big-3 (Yahoo!, Bing and Google) as well as other sites - probably data aggregators.
So it's easy, clean, and is one more way to enhance the sites under our case.