DashForDevsDocs
DocsNewsAPI v1
dashfordevs.comSign in

© 2026 DashForDevs

DocsNewsdashfordevs.comLegalStatus
DocsStorefront ArchitectureSEO Best Practices
Introduction
Getting Started
Authentication
Products
Categories
Cart
Checkout
Blog
Reviews
Webhooks
Customers
Orders
Inventory
Shipping
Discounts
Affiliates
Email
Media & Files
Analytics & Tracking
Locations
Tax
Global Data
SEO
Error Handling
Geography
Finance
Automations
Page Types
Surveys
Billing & Subscriptions
Storefront Payments
SDK Reference
REST API
Storefront Architecture
Project StructureServer vs ClientData FetchingCaching StrategiesSEO Best PracticesPerformanceCategory URL Structure
Notifications
Security
Team & Permissions
Migrations & Import
Calendar & Appointments
Contact Forms
AI Bots
Dashboard API
Deployment
Changelog
Troubleshooting
Recipes
CLI & Deployment
Image Pipeline
White-label Platforms
Records Engine
Platform Modules
Platform Security
Site Keys & Client Sites
Use Cases
Operations

SEO Best Practices

Optimize your storefront for search engines.

Updated March 29, 2026

On this page
  • Meta Tags
  • Sitemap
  • Structured Data
  • Server-Side Rendering
  • Next Steps

Meta Tags

Use the SEO module with Next.js generateMetadata:

typescript
export async function generateMetadata({ params }) {
  const { seo } = await dash.seo.product(params.slug)
  return {
    title: seo.title,
    description: seo.description,
    openGraph: { images: seo.og_image ? [seo.og_image] : [] },
  }
}

Sitemap

Generate a dynamic sitemap using dash.sitemap.get().

Structured Data

Add JSON-LD for rich search results. The SEO endpoint returns pre-built schema:

typescript
<script type="application/ld+json"
        dangerouslySetInnerHTML={{ __html: JSON.stringify(seo.schema) }} />

Server-Side Rendering

Use server components for all content pages to ensure search engines can crawl the full HTML.

Next Steps

  • Product SEO — Product meta tags
  • Sitemap — Dynamic sitemap generation
PreviousCaching StrategiesNextPerformance

On this page

  • Meta Tags
  • Sitemap
  • Structured Data
  • Server-Side Rendering
  • Next Steps