Geo-targeting Schema Codes
-
Hello Moz,
I have a couple of questions about the wonderful world of schema.org. I understand basically how everything works, but I have a client that has multiple locations and operates as a bowling alley/restaurant/entertainment venue. My questions are as follows:
1. What is the difference between the Place, LocalBusiness, and Restaurant Schema Codes? Can I geo-target these codes to come up in the areas of the different locations?
2. With the Restaurant Schema Code, will the menu populate in google the way other restaurants do? Do I just need this code on pages that relate to their menu/restaurant?
3. Is there some sort of cheat sheet somewhere where I can see examples of codes and how to use them?
Thanks!
-
Hi Cole,
When you're trying to understand the relationship/the difference between the different entities I find this to be the most useful screen: http://schema.org/docs/full.html.
Taking your example, we can see that LocalBusiness is a type of Place and a type of Organisation. You'd always want to try and pick the most specific entity possible, so you'd pick LocalBusiness rather than Place.
But your business does multiple things and LocalBusiness isn't very specific.
Schema.org supports the concept of multiple types for a single object but at the moment, all the structured data validators throw up errors and can't work with it.
Here's the last discussion that happened on it: https://lists.w3.org/Archives/Public/public-vocabs/2015Feb/0061.html
And the page that came from it: https://lists.w3.org/Archives/Public/public-vocabs/2015Feb/0061.html
In your case I think the right thing to do is either to use Restaurant gain the special markup properties available to a restaurant and put the other features in the description. Or use Localbusiness and then use the additionalType property to show the other kinds of things you do. (Although they as they mention in the documentation, they might not understand this bit quite as much at the moment.)
You can find great examples for the first one on the restaurant page at schema.org http://schema.org/Restaurant
And 2 in JSON-LD would look something like this:
On the menu point, I couldn't recreate any rich menu's, the only examples I could find were links to menus from the local business blocks. And in that case it's being pulled from the Menu property in Restaurant.
-
Hey Craig,
Thanks for your response. The business is all of these in one. Sort of like a one-stop-shop for entertainment. If you google "McDonald's Menu", you can see the field I am trying to replicate.
Thanks!
-
Hi Cole,
1 - When you say this business operates as bowling alley/restaurant/entertainment venue do you mean these are three different venues?
2 - Can you give me an example of the query that is showing the result you're trying to replicate.
3 - The schema.org website has lots of examples in the areas you mentioned. Scroll to the bottom of the page and you'll see different examples that you should be able to just do a find and replace on.
Craig
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Google My Business - Service Area - Use Zip Codes or City Names?
Google allows you to choose up to 20 locations as service areas, and you can choose based on cities, counties, or zip codes. I'm trying to determine if zip codes, cities, or counties are better to select for our GMB profiles. We are located in the US. I am thinking it's best to use all 20 areas allowed on a profile as long as they are relevant, generally giving Google all the info they will let you provide is best. I also am leaning toward using zip codes because it also includes the city when you choose by zip code. For example: Entered the zip code 21009 and the service area selection provided was: Abingdon, MD 21009, USA Entering the city/state returns a selection of Abingdon, MD, USA I also think it may have to do with how people search and find your business as well? Does anyone have experience with this? Best practices? My google searching has not turned up any reliable info.
Local Listings | | WadeBayMgmt0 -
Adding Schema to multi-location Wordpress Website using Schema Pro
All, we're building a new version of our existing website using Wordpress and have both Yoast SEO Premium and Schema Pro installed. Our site has 70, a medical practice, has 70 different locations. Each one of our locations has a page tile like the following: "Los Angeles | ABC Dental". The first part of the site title is the town we're located in followed by our site name. Using Schema Pro, we're not sure about what to place into the "Name" field. You can see the direction from Schema Pro for local businesses here, https://wpschema.com/docs/add-schema-markup-for-a-local-business-page/ By default Schema Pro has the name field set to Site Title. However, using this on all 70 or our landing pages wouldn't provide the local aspect we want. It would just say ABC Dental. We changed this to use a new custom field where we could enter a more descriptive name. Using our page title example of "Los Angeles | ABC Dental", would we simply enter this into the name field of Schema Pro? If not, would we format this another way such as "ABC Dental Los Angeles" We could use some help in a strategy for Schema markup for multi-location businesses, in particular, the name field. All other information such as address, phone number, etc seems rather straight forward. Thank you for the assistance
Local Listings | | morciuoli0 -
Inputting Schema for Website When Using a Markup Generator
Hi Guys, I think this may be fairly straightforward but couldn't find an answer online. I wish to input Schema on a website and have generated the JSON-LD markups for a local business. 1. Do I just add this into the header and if so should it be at the start or end? 2. Do I just add to the homepage? 3. If I have multiple markups (Local Business, Website, etc.) do I put them all in one header Thanks! Jack
Local Listings | | Jack11660 -
For Google's Structured Data, should I change my listings from Product schema to Local Business schema?
I was reading Google's Structured Data spec, and I'm considering changing the schema of our listing pages from the Product schema to the Local Business schema. Is this a good idea? To give you a little more info, the pages that I'm classifying are listings for physical spaces that our website rents out for activities, such as meetings. Here's an example of a listing: https://www.peerspace.com/pages/listings/550ddcde2f352d0800fc186b Our goal is to add the proper schema.org tags to the page so that our spaces show up in local searches, such as "meeting space in San Francisco." The problem is that when we add location microdata (addressLocality, addressRegion, etc.) to our current "Product" schema, Google tells us that "Products" can't have a location. However, we aren't quite a "Local Business" either, since we don't publicly share our space's street addresses—only the space's neighborhood/city/state for privacy reasons. As a result, we get an error from Google's Structured Data Tool as a "Local Business" page because "streetAddress" is required for Local Businesses. Should we switch to the Local Business schema anyway, even though we get structured data errors for streetAddress? Or is it better not to include the location information in the microdata so that we don't have errors? Does Google penalize you for incomplete tags? Any input is appreciated!
Local Listings | | stuartstein0 -
Should add Schema markup to my sites Business Directory?
I'm adding a Business Directory to my ecom site to show where the product can be purchased/used. Some listings are stores where you can purchase others are restaurants, bars and spas the product can be used. My question is should I add relevant Schema markup for each listing? My thoughts are yes but wanted feedback from the community.
Local Listings | | ColeBField
Thanks0 -
Schema.org Best Practices
I am employing some schema.org markup for a dental website, and I am wondering what best practice for using markup is. The NAP is on the footer and on some pages on the sidebar. I was wondering... Should I use schema for the NAP on both the footer and the sidebar or is markup on just one enough? Are there any negative consequences to having the same info marked up twice on the same page? Should I use the itemtype "dentist" or "localbusiness"? Is there an added benefit to either depending how you look at it? My thoughts were that "dentist" is more specific, so that would also imply that it is also a local business... If I use the itemtype "dentist" on the footer and "localbusiness" on the sidebar would that violate best practices or would you get the benefits of both? Would love to hear all of your thoughts! Thanks!!!
Local Listings | | Derrald0 -
Right page to place the Schema code for global business
I have two questions: 1. Schema code for Global business: As a company which works with clients across the globe, we like to create a well defined schema that doesn't limit and appear as a Local Business to Google. I assume "http://schema.org/LocalBusiness" means a local business to Google. If we use it, will be be affecting the ranking in global searches? 2. Page and location to keep the code What could be the best place to keep the schema code in a web page? - Homepage/ About us page / contact us page and Footer links are the options. I hope applying CSS on it too wouldn't be an issue. Looking forward to learning your thoughts.
Local Listings | | macronimous0 -
Phone number Schema that Google WMT blog talked about this week throwing HTML Validation error
My code looks like this: 888.723.4617 The HTML validation errors are these: Attribute contacttype not allowed on element span at this point.
Local Listings | | RoxBrock
Attribute areaserved not allowed on element span at this point.
Attribute contactoption not allowed on element span at this point.
Attribute availablelanguage not allowed on element span at this point. Have I misread how to implement this schema or is html validation not up to speed and I should ignore for now? Link to blog Post...http://googlewebmastercentral.blogspot.com/2014/04/surfacing-your-businesss-contact-and.html?utm_source=feedburner&utm_medium=email&utm_campaign=Feed%3A+blogspot%2FamDG+%28Official+Google+Webmaster+Central+Blog%29 Thanks!1