Structured Data
Implement Schema.org markup to enable rich results and help Google understand your content.
What is Structured Data?
Structured data is a standardized format for providing information about a page and classifying its content. It helps search engines understand your content and can enable rich results.
Content → Structured Data → Google → Rich ResultsBenefits of Structured Data
| Benefit | Impact | |---------|--------| | Rich Results | Enhanced SERP appearance | | Better Understanding | Helps Google classify content | | Voice Search | Powers featured snippets | | Knowledge Graph | May appear in Knowledge Panel | | Increased CTR | Visual elements attract clicks |
Implementation Formats
Google supports three formats. JSON-LD is recommended.
JSON-LD (Recommended)
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "pxlpeak",
"url": "https://www.pxlpeak.com"
}
</script>Microdata
<div itemscope itemtype="https://schema.org/Organization">
<span itemprop="name">pxlpeak</span>
</div>RDFa
<div vocab="https://schema.org/" typeof="Organization">
<span property="name">pxlpeak</span>
</div>Essential Schemas
Organization Schema
Required for establishing your brand identity:
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "pxlpeak",
"alternateName": "pxlpeak Digital Marketing",
"url": "https://www.pxlpeak.com",
"logo": "https://www.pxlpeak.com/logo.png",
"sameAs": [
"https://twitter.com/pxlpeak",
"https://linkedin.com/company/pxlpeak",
"https://facebook.com/pxlpeak"
],
"contactPoint": {
"@type": "ContactPoint",
"telephone": "+1-555-123-4567",
"contactType": "customer service",
"availableLanguage": ["English"]
}
}LocalBusiness Schema
Essential for businesses with physical locations:
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "pxlpeak Marketing Agency",
"image": "https://www.pxlpeak.com/office.jpg",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Marketing Ave",
"addressLocality": "San Francisco",
"addressRegion": "CA",
"postalCode": "94102",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 37.7749,
"longitude": -122.4194
},
"openingHoursSpecification": {
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "09:00",
"closes": "18:00"
},
"priceRange": "$$"
}Article Schema
For blog posts and news articles:
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Complete SEO Guide for 2025",
"description": "Everything you need to know about SEO in 2025",
"image": "https://www.pxlpeak.com/seo-guide.jpg",
"author": {
"@type": "Person",
"name": "John Smith",
"url": "https://www.pxlpeak.com/team/john-smith"
},
"publisher": {
"@type": "Organization",
"name": "pxlpeak",
"logo": {
"@type": "ImageObject",
"url": "https://www.pxlpeak.com/logo.png"
}
},
"datePublished": "2025-01-10",
"dateModified": "2025-01-11"
}FAQ Schema
Expandable Q&A in search results:
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is SEO?",
"acceptedAnswer": {
"@type": "Answer",
"text": "SEO (Search Engine Optimization) is the practice of optimizing websites to rank higher in search engine results."
}
},
{
"@type": "Question",
"name": "How long does SEO take?",
"acceptedAnswer": {
"@type": "Answer",
"text": "SEO typically takes 3-6 months to see significant results, depending on competition and starting point."
}
}
]
}Product Schema
For e-commerce product pages:
{
"@context": "https://schema.org",
"@type": "Product",
"name": "SEO Toolkit Pro",
"image": "https://www.pxlpeak.com/products/seo-toolkit.jpg",
"description": "Complete SEO analysis and optimization toolkit",
"brand": {
"@type": "Brand",
"name": "pxlpeak"
},
"offers": {
"@type": "Offer",
"price": "99.00",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"priceValidUntil": "2025-12-31"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.8",
"reviewCount": "1250"
}
}Breadcrumb Schema
Navigation path for better SERP display:
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://www.pxlpeak.com"
},
{
"@type": "ListItem",
"position": 2,
"name": "SEO Guide",
"item": "https://www.pxlpeak.com/docs/seo"
},
{
"@type": "ListItem",
"position": 3,
"name": "Structured Data"
}
]
}Testing & Validation
Google Tools
| Tool | Purpose | URL | |------|---------|-----| | Rich Results Test | Test rich result eligibility | search.google.com/test/rich-results | | Schema Validator | Validate schema syntax | validator.schema.org | | Search Console | Monitor rich result performance | search.google.com/search-console |
Testing Process
# 1. Validate schema syntax
curl https://validator.schema.org/
# 2. Test rich result eligibility
curl https://search.google.com/test/rich-results
# 3. Monitor in Search Console
# Navigate to Enhancements → [Schema Type]Common Errors
| Error | Cause | Solution | |-------|-------|----------| | Missing required property | Incomplete schema | Add all required fields | | Invalid URL | Malformed URL format | Use absolute URLs | | Mismatch with page content | Schema doesn't match visible content | Align schema with page content | | Unsupported schema type | Using deprecated or invalid type | Check Google's supported schemas | | Multiple entities | Conflicting schemas | Use one primary schema per concept |