How to Add Local SEO Schema Markup To Your Website
Local SEO Markup Schema Boilerplate
Copy and paste the follow code into Notepad or a code editor like Notepad++ or VSCode. These are free but plain old notepad will work just fine for this tutorial. Next, Replace my comments with your business details on the appropriate lines BETWEEN the double quotes.
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "LocalBusiness",
"name": "Your Business Name Here",
"telephone": "(XXX) XXX-XXXX",
"address": {
"@type": "PostalAddress",
"streetAddress": "Street Address Here",
"addressLocality": "City Here",
"addressRegion": "2 letter state code",
"addressCountry": "United States",
"postalCode": "Zip code here"
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek":["Monday","Tuesday", "Wednesday", "Thursday"],
"opens": "11:00",
"closes": "18:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Saturday","Sunday"]
"opens": "10:00",
"closes": "14:00"
}
],
"url": "https://yourwebsitehere.com",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.9",
"bestRating": "5",
"worstRating": "2",
"ratingCount": "198"
},
"review": {
"@type": "Review",
"author": {
"@type": "Person",
"name": "Billy Bob Thornton"
},
"datePublished": "2023-12-09",
"reviewRating": {
"@type": "Rating",
"ratingValue": "5"
},
"reviewBody": "Youre Awesome"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "Get this from Google maps",
"longitude": "This too"
},
"areaServed": {
"@type": "GeoCircle",
"geoMidpoint": {
"@type": "GeoCoordinates",
"latitude": "Use same as above",
"longitude": "same as above longitude"
},
"geoRadius": "This is in meters by default. Use Google to convert miles to meters then add here."
}
}
</script>
Use schema.org to find your specific business type but if there isn’t one, use the Local Business one above.