Local business listings with Schema.org structured data

Local business listings with Schema.org structured data
Local business listings with Schema.org structured data

Local business listings with Schema.org structured data

One of the things you can do to present your local business better in search results is Schema.org data for rich snippets. By adding structured data to your site, you can help search engines understand what your business is about and how it performs. For this reason, you have to add your NAP details, a map to your store/location, reviews, and images. Find out how Schema.org structured data can help your local SEO.

Local customers use search engines

Modern-day customers use search engines not just to find your specific business but also businesses around their current location. Customers using their phones looking for ‘Italian restaurants’ will get a rich search result of local businesses. The results will include distance, reviews, opening hours, and possibly making a reservation.

Improve local rankings

Getting a good ranking for your local business means offering search engines as much data about your business as possible. Besides that, you need an excellent, fast, and mobile-friendly website, quality content, links, and reviews.

To improve your rankings, you should focus on being the most relevant result for a specific query. In addition to that, your business has to be the best result. One way of getting this kind of recognition is by asking your customers for reviews. Reviews help search engines, and potential customers figure out which business is legit and which isn’t.

Why Schema.org

The main thing to remember is that Schema.org describes your data and content to search engines. Search engines can find out a lot about your site by crawling it. However, if you add structured data, you can give everything meaning. This way, search engines instantly grasp what the content means and how they should present it. In addition to that, Schema.org is a shared initiative by the big search engines, so using it will lead to consistent results in the respective search engines. Yoast SEO automatically adds structured data with a lot of information about your site.

Rich search results for businesses

So, when we mean rich search results, we are talking about the information about a business you can directly see in search results without clicking a link. A couple of different results here: a regular organic search result for a business can feature breadcrumbs, highlighted pages, or even a search box. In Google, there’s also the Knowledge Panel on the right-hand side. Here you’ll find lots of metadata about a business, from opening hours to photos. Finally, the results you see when you search for a specific term rather than a business. See the screenshots below for the different results you can get for a particular or generic search.

Searching for a business called Urban Vintage
Searching for a specific local business, called Urban Vintage in Burbank, CA
Looking for a local business using a specific term

Why you should use JSON-LD

To get rich results, you need to use structured data in the form of Schema.org. In the past, it was pretty tricky to add Schema.org data to your post because you had to embed it in your HTML code. Now, with JSON-LD, you have to add a block of JavaScript code anywhere on your page. Plus, the code is readable and easy to change.

With JSON-LD, you don’t have code wrapping around your HTML elements anymore, with less possibility of messing things up. In addition to that, Google advises you to use it. Now, let’s see how it’s done.

How to add Schema.org to your local business listing

The most important thing to keep in mind when you are working on your listing is to pick the correct business type. Make sure to pick a specific one, not a broad one. So if you own a barbershop, you can use the Local Business Type Hair Salon. There are over 400 types of businesses, so you’ll probably find one that matches closely. If not, try using the product types ontology. This site uses Wikipedia pages for describing products or services with GoodRelations and Schema.org. Here, you can get more specific information if your listing is too broad.

While it’s possible to write Schema.org JSON-LD code by hand, it’s not recommended. Use a generator like this Schema Markup Generator or Google’s Structured Data Helper. Or use our Local SEO plugin that does this for you — and makes sure that it plays nice with the rest of the structured data generated by Yoast SEO.

Always validate your Schema.org data in the Rich Results Test Tool. Using Synup’s Schema Scanner, you can check your site to see if the Schema.org data is implemented correctly. Don’t forget to add your site to Search Console, so you can check how Google presents your site. If you want to learn more about Google Search Console, read our beginners guide to Google Search Console.

Quickly add structured data for your local business

The Local SEO plugin by Yoast gives you everything you need to do well in the local search results pages!

Get Local SEO Only 69 EUR (ex VAT) for 1 site

Required properties for local businesses

There’s one main Schema.org at play here: Schema.org/LocalBusiness. In this Schema.org, you’ll find everything you need to inform search engines about your local business. To get started, you need at least the following properties:

  • @id (globally unique id of the specific business in the form of a URL)
  • name of business
  • image
  • address
    • address.streetAddress
    • address.addressLocality
    • address.addressRegion
    • address.postalCode
    • address.addressCountry

The properties mentioned in the previous paragraph don’t get you very far, though. To make the most of structured data for your site, you need to go further. Be sure to add the following properties as well, if applicable. This is just the beginning, on Schema.org/LocalBusiness you’ll find loads more.

  • url (unlike the @id, should be a working link)
  •  geo
    • geo.latitude
    • geo.longitude
  • telephone
  • aggregateRating
  • openingHoursSpecification
    • openingHoursSpecification.opens
    • openingHoursSpecification.closes
    • openingHoursSpecification.dayOfWeek
    • openingHoursSpecification.validFrom
    • openingHoursSpecification.validThrough
  • menu
  • department
  • servesCuisine
  • priceRange (how many $?)

Example code for local business Schema.org

To clarify how all of this works, we will use a real local business: Unique Vintage in Burbank, CA. This makes it a bit easier to validate the data we enter. In the code below, you’ll find all the NAP details, URL’s, geolocation data, maps, opening hours and reviews you might need.

<script type='application/ld+json'> 
{
   "@context": "https://www.schema.org",
   "@type": "ClothingStore",
   "@id": "https://unique-vintage.example.com",
   "name": "Unique Vintage",
   "url": "https://www.unique-vintage.com",
   "logo": "https://www.unique-vintage.com/example_logo.jpg",
   "image": "https://www.unique-vintage.com/example_image.jpg",
   "description": "Clothing store featuring vintage-inspired women's separates & dresses plus men's shirts & hats.",
   "telephone": " +1 818-848-1540",
   "address": {
    "@type": "PostalAddress",
    "streetAddress": "2011 W Magnolia Blvd",
    "addressLocality": "Burbank",
    "addressRegion": "CA",
    "postalCode": "91506",
    "addressCountry": "USA"
      },
 "geo": {
   "@type": "GeoCoordinates",
    "latitude": "34.1736486",
    "longitude": "-118.332408"
      },
   "hasMap": "https://www.google.nl/maps/place/Unique+Vintage/@34.1736486,-118.332408,17z/data=!3m1!4b1!4m5!3m4!1s0x0:0x47a3a037cf1e183b!8m2!3d34.173649!4d-118.3302131",
   "openingHours": "Mo, Tu, We, Th, Fr 11:00-19:00 Sa 10:00-18:00 Su 12:00-17:00",
   "priceRange": "$",
   "aggregateRating": {
   "@type": "AggregateRating",
     "ratingValue": "4",
     "reviewCount": "250"
  }
}
 </script>
The localBusiness code above gets perfect scores from the Rich Results Testing Tool

Reviews

Reviews are a significant driver for new clientele. Scoring well in Google means your business provides quality, which can eventually lead to better local rankings. Think about how you pick the next company to visit. Will it be the one with three two-star reviews or the one with eighty-five-star reviews?

In the example above, we’ve added a review section. If you want to use reviews in your Schema.org data, you must keep in mind that these reviews have to live on your site. You cannot use sites like Yelp or TripAdvisor to generate reviews to show in the search engines. Ask your customers to leave a review. Make a review page, collect the reviews and present them to the world.

Social

Another element to add to complete your online profile are links to your social media accounts. To do this, you must specify an organization or a person. The URL has to lead to your main site, while the sameAs links lead to your social media profiles.

<script type="application/ld+json">
{
 "@context": "https://schema.org",
 "@type": "Organization",
 "name": "Example shop",
 "url": "https://www.exampleshop.com",
 "sameAs": [
 "https://www.facebook.com/exampleshop",
 "https://instagram.com/exampleshop",
 "https://twitter.com/exampleshop"
 ]
}
</script>

Google My Business

There is another way you should use to add your local business to Google. By opening a Google My Business account, you will be able to verify that you are, in fact, the owner of your business. After that, you can add or edit all relevant information about your business, such as address information, opening hours, and photos. In addition to that, you can even manage the reviews people add to Google and see how your local listing performs.

Conversely, this only applies to Google. Every search engine can interpret Schema.org, so it is still advisable to add structured data to your site. Additionally, Schema.org can do so much more than add relevant local business locations. Therefore, Schema.org should be your main focus.

Despite all this, you’re still very much in Google’s hands. Some businesses appear in the Knowledge Panel, while others don’t. Some products get rich listings, including prices, reviews, and availability, in the search results, while the same product from a different vendor doesn’t. It’s hard to predict what will happen. However, don’t let this stop you.

Structured data for your local business

As we’ve shown, Schema.org can play an important part in the optimization of your site and in your SEO strategy. Structured data can do much more, just look at all those properties on Schema.org. We’ll keep an eye on what structured data can do for your site and keep you in the loop!

Don’t forget that if you want an easier way to add your local business data to your pages, you should definitely check out our Local SEO for WordPress plugin.

Read more: Structured data with Schema.org: the ultimate guide »

The post Local business listings with Schema.org structured data appeared first on Yoast.

Maggi Pier

Maggi Pier

Avid gardener, artist, writer, web designer, video creator, and Google my Business local marketing pro!
Close
Menu