Skip to content

Instantly share code, notes, and snippets.

@dannanelli
Last active June 13, 2024 08:13
Show Gist options
  • Save dannanelli/386926484f7ef846a76784ae09b96d60 to your computer and use it in GitHub Desktop.
Save dannanelli/386926484f7ef846a76784ae09b96d60 to your computer and use it in GitHub Desktop.
ContactPage Schema Example Template for Local SEO
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ContactPage",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{CONTACT PAGE URL}}"
},
"publisher": {
"@type": "LocalBusiness",
"@id": "{{WEBSITE URL}}",
"name": "{{BUSINESS NAME}}",
"logo": "{{LOGO URL}}",
"telephone": "{{PHONE NUMBER}}",
"email": "{{EMAIL ADDRESS}}",
"sameAs": [
"{{URL #1}}",
"{{URL #2}}"
],
"url": "{{WEBSITE URL}}",
"image": "{{IMAGE URL}}",
"description": "{{BUSINESS DESCRIPTION}}",
"address": {
"@type": "PostalAddress",
"streetAddress": "{{STREET ADDRESS}}",
"addressLocality": "{{CITY}}",
"addressRegion": "{{STATE ABBREVIATION}}",
"postalCode": "{{ZIP CODE}}"
}
}
}
</script>
@skybridgeglobal
Copy link

skybridgeglobal commented Jun 13, 2024

what is the url #1 & url #2 means here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment