Skip to content

Instantly share code, notes, and snippets.

@atomjoy
Last active September 3, 2024 11:24
Show Gist options
  • Save atomjoy/2efb4b87d58132b626d7202277c94ee3 to your computer and use it in GitHub Desktop.
Save atomjoy/2efb4b87d58132b626d7202277c94ee3 to your computer and use it in GitHub Desktop.
Jak działają znaczniki uporządkowanych danych Google dotyczące firmy działającej lokalnie (LocalBusiness) i strony firmy (WebSite) schema.org.
<html>
<head>
<title>Page Title</title>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "Page Title",
"url": "https://example.org"
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"logo": "https://example.org/logo/logo.webp",
"image": "https://example.org/logo/logo-instagram.png",
"name": "Page Title",
"address": {
"@type": "PostalAddress",
"streetAddress": "Ken 123",
"addressLocality": "Warszawa",
"addressRegion": "Ursynów",
"postalCode": "00000",
"addressCountry": "PL"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "5",
"reviewCount": "1"
},
"review": [
{
"@type": "Review",
"reviewRating": {
"@type": "Rating",
"ratingValue": "5",
"bestRating": "5"
},
"author": {
"@type": "Person",
"name": "Alex Marko"
}
}
],
"geo": {
"@type": "GeoCoordinates",
"latitude": 21.880490,
"longitude": 51.318570
},
"description": "Page Description",
"url": "https://example.org/",
"telephone": "+48-000-000-000",
"email": "[email protected]",
"priceRange": "$$$",
"openingHours": [
"Mo-Sa 08:00-17:00"
]
}
</script>
</head>
<body>
<h1>Jak działają znaczniki uporządkowanych danych</h1>
<p>Znaczniki uporządkowanych danych obsługiwane przez wyszukiwarkę Google. Uporządkowane dane dotyczące firmy działającej lokalnie (LocalBusiness) i strony firmy (WebSite). [Structured data markup that Google Search supports.]</p>
</body>
</html>
@atomjoy
Copy link
Author

atomjoy commented Jun 2, 2024

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