LocalBusiness Schema image and priceRange Examples

Google recently started to require that your LocalBusiness Schema include “image” and suggested that you include “priceRange” as well.

Here is an example of Schema using JSON-LD that includes both “image” and “priceRange”. Feel free to copy and paste the template below for your own use.

In the priceRange field you can also enter $, $$ or $$$ if you don’t want to use a specific number.

Once you have added this script to your website, you will need to confirm that you have implemented the code correctly by using Google’s Structured Data Testing Tool. Simply enter the URL of the website that you installed the script on under the “Fetch URL” tab. Or you can copy and paste the script into Google’s Structured Data Testing Tool under the “Code Snippet” tab.

Local Business Schema Example Template


<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type" : "LocalBusiness",
  "@id" : "WEBSITE URL",
  "name" : "BUSINESS NAME",
  "hasMap": "https://maps.google.com/maps?cid=YOURCIDNUMBER",
  "logo" : "LOGO URL",
  "telephone" : "PHONE NUMBER",
  "email" : "EMAIL ADDRESS",
  "sameAs" : [ "URL #1", "URL #2" ],
  "url" : "WEBSITE URL",
  "image" : "IMAGE URL",
  "priceRange" : "$000 - $000",
  "description" : "BUSINESS DESCRIPTION",
  "address" : {
    "@type" : "PostalAddress",
    "streetAddress" : "STREET ADDRESS",
    "addressLocality" : "CITY",
    "addressRegion" : "STATE ABBREVIATION",
    "postalCode" : "ZIP CODE"
  },
  "geo" : {
    "@type" : "GeoCoordinates",
    "latitude" : "LATITUDE COORDINATES",
    "longitude" : "LONGITUDE COORDINATES"
  }
        }
    }
  ]
}
</script>

Use this free tool to find the CID number for your Google My Business listing.

Note: You can add the code anywhere on your website. It doesn’t matter if you place it in the head or the body section. Google will have no problem reading the code. Since JSON-LD is a data linking format, there are no additional requests to the server. Therefore, it doesn’t matter if the script is loaded at the top or bottom of the page – there is no render delaying whatsoever.

Reference: https://whitespark.ca/blog/the-json-ld-markup-guide-to-local-business-schema/

Further Reading: https://help.agencyanalytics.com/en/articles/1836957-find-the-cid-number-for-a-google-my-business-listing

About Dani Owens

Dani Owens, the owner of Pigzilla, has been in the digital marketing field since 2011. Her resources have been mentioned and shared by local SEO experts such as Eric Ward, Darren Shaw, Phil Rozek, Marie Haynes, David Mihm and Local U. From small, independent Mom-and-Pop shops, to enterprises with thousands of locations, Dani Owens has years of experience strategizing and implementing reliable local SEO tactics that lead to increased organic traffic and conversions.