Skip to content
SEO

Metadata

Adobe recommends uploading product metadata into Edge Delivery Services so that it can be rendered server-side on product detail pages. This is important so that Google Merchant Center can reliably verify entries from your product sheet. Also, social media sites, which don’t usually parse JavaScript, can leverage this metadata to display rich previews of your product page links.

Verify that all pages, especially catalog pages (PDP and PLP), contain the following metadata:

TypeProperties
Document titletitle
Meta tagsdescription, keywords, og:type, og:title, og:description, og:url, og:image, og:image:secure_url, og:product:price:amount, og:product:price:currency
Schema.org data (JSON-LD)WebSite, Product, AggregateRating, Rating, BreadcrumbList

Schema.org data (JSON-LD)

JavaScript Object Notation for Linked Data (JSON-LD) is a structured data format that helps search engines understand the content of your web pages more explicitly. It is typically added as a script tag in the <head> of your HTML document.

Adobe Commerce storefronts on Edge Delivery Services should include schema.org annotations to expose product data to search engines. This data should be included on all Commerce pages, especially PDPs and PLPs.

You should compare the data available on the site before migrating to Edge Delivery Services to ensure that SKUs for all product variants are included. Use the Rich Results Test to validate the schema.org annotations. The PDP drop-in component in the boilerplate contains an example for JSON-LD data.

Generate metadata

You can use the PDP Metadata Generator tool to automate the process of generating all recommended metadata. The tool fetches product data from the Catalog Service, processes it, and generates a metadata spreadsheet in .xslx format. The spreadsheet can be used for the bulk metadata feature in Edge Delivery Services.

To generate metadata using the PDP Metadata Generator tool:

  1. Navigate to the tools/pdp-metadata/ directory in your local project.

  2. Install dependencies.

    Terminal window
    npm install
  3. Run the tool and generate a file named metadata.xlsx in the project directory.

    Terminal window
    npm start

The resulting metadata.xlsx file contains all recommended metadata for all of your products. See the bulk metadata documentation for instructions on how to upload the generated metadata file to Edge Delivery Services.