{
"@context": "https://schema.org/",
"@type": "Product",
"@id": "https://yourdomain.com/product/heavy-duty-widget#product",
"name": "Heavy Duty Industrial Widget v2",
"image": [
"https://yourdomain.com/photos/1×1/photo.jpg",
"https://yourdomain.com/photos/4×3/photo.jpg"
],
"description": "The most durable industrial widget on the market, now with AI integration.",
"sku": "HDW-V2-001",
"mpn": "925872",
"brand": {
"@type": "Brand",
"name": "TechCorp"
},
"review": {
"@type": "Review",
"reviewRating": {
"@type": "Rating",
"ratingValue": "4.8",
"bestRating": "5"
},
"author": {
"@type": "Person",
"name": "Jane Doe"
}
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.7",
"reviewCount": "124"
},
"offers": {
"@type": "Offer",
"url": "https://yourdomain.com/product/heavy-duty-widget",
"priceCurrency": "USD",
"price": "299.00",
"priceValidUntil": "2026-12-31",
"itemCondition": "https://schema.org/NewCondition",
"availability": "https://schema.org/InStock"
}
}
### Key Components Explained:
* **@id Attribute:** This is the "permalink" for the entity. It allows you to reference this exact product in other parts of your site’s schema (like in a blog post review), helping Google connect the dots in its Knowledge Graph.
* **AggregateRating:** Without this, you won't get those golden stars in the search results.
* **Availability:** Google uses this to show "In Stock" labels, which significantly boosts CTR for shoppers.

## Step 4: Implementation Methods
There are three primary ways to deploy your JSON-LD code:
### 1. Manual Injection
For custom-built sites, you can hard-code the script into the `<head>` of your HTML template. This offers the most control and fastest load times as there are no external dependencies.
### 2. Google Tag Manager (GTM)
You can use GTM to fire a "Custom HTML" tag containing your JSON-LD.
* **Pros:** Easy to manage without a developer.
* **Cons:** Google has to execute JavaScript to "see" the schema. While Googlebot is excellent at this now, it can occasionally lead to a slight delay in indexing compared to server-side rendering.
### 3. CMS Plugins (The "Simple" Way)
If you are on WordPress, tools like RankMath or Yoast SEO Pro handle the heavy lifting. However, be wary of "thin" schema. Plugins often only generate the bare minimum. You should use their "Schema Pro" or "Custom Schema" builders to add the deeper technical properties mentioned above.
## Step 5: Advanced Nesting and Graph Logic
To truly stand out in 2026, you shouldn't just provide individual snippets. You should provide a **Graph**. This means nesting related entities.
For example, on a "Service" page, don't just mark up the service. Nest the **Organization** (who provides it), the **AreaServed** (where they do it), and **Reviews** (who likes it) all within one block.
**Example of Nesting:**
```json
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Service",
"name": "Cloud Architecture Consulting",
"provider": { "@id": "https://yourdomain.com/#organization" }
},
{
"@type": "Organization",
"@id": "https://yourdomain.com/#organization",
"name": "Alpha Solutions",
"url": "https://yourdomain.com"
}
]
}