Skip to content

Instantly share code, notes, and snippets.

@dannanelli
Last active July 25, 2023 20:58
Show Gist options
  • Save dannanelli/6a7ef6678d09ebafe460d16bb3574c8c to your computer and use it in GitHub Desktop.
Save dannanelli/6a7ef6678d09ebafe460d16bb3574c8c to your computer and use it in GitHub Desktop.
LocalBusiness Schema Example Template for Local SEO
<script type="application/ld+json">
{
"@context": "http://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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment