How to tell which structured data is from JSON-LD for SEO

By Ilana Davis

With different themes and apps adding structured data to Shopify stores, it’s becoming difficult to know which data comes from where.

JSON-LD for SEO has always its name by its structured data to make it easier to spot. For those on the legacy snippet, you’ll see the following comment and include in the source code:

Code comments

For those who are on the new app embed with Shopify’s Online Store 2.0 features, you’ll see the following class in the source code:

class="shopify-block shopify-app-block json-ld-for-seo"

The app also adds special IDs to the data based on the data types. Normally these are used to link the data but it’s also great for identification purposes.

All of these show up in the ID field, are based on the page’s canonical URL, and are highly visible in the Schema Markup Validator and Google’s Rich Results Testing Tool.

List of IDs provided by JSON-LD for SEO

To help you out, here's a list of the IDs used by the major data types.

  • Organization/Store/Local Business - your store url with the suffix of #org.
  • Website - your store url with the suffix of #website.
  • Product Group - your product's canonical url with the suffix of #json-ld-for-seo.
  • Product your product's canonical url with the suffix of #json-ld-for-seo-product.
    1. Variant - your variant url with the suffix of #json-ld-for-seo-variant.
    2. Reviews - your product's canonical url with the suffix of #json-ld-for-seo-product-reviews.
    3. Shipping - your product's canonical url with the suffix of #json-ld-for-seo-shipping.
    4. Returns - your canonical url with the suffix of #json-ld-for-seo-return-policy.
    5. Blog posts - your blog post's canonical url with the suffix of #article.
    6. Shopify pages - your page's canonical url with the suffix of #article.
    7. Videos - your page's canonical url with the suffix of #video.
    8. Recipes - your page's canonical url with the suffix of #recipe.
    9. FAQs - your page's canonical url with the suffix of #faq.
    10. How-To - your page's canonical url with the suffix of #howto.

    If you see problems with the data, you’ll want to double-check for the HTML comments to make sure you’re looking at the right data.

    Google likes to hand out search enhancements to those websites that help them and their searchers. That’s why adding structured data to your Shopify store can be a valuable option.

    With JSON-LD for SEO it’s even easier. The app will automatically add the data needed for search enhancements like Rich Results on products, blog posts, landing pages, and more.

    Already trusted by a few thousand Shopify stores since 2015, it’s the safe and efficient choice for structured data.

    JSON-LD for SEO

    Get more organic search traffic from Google without having to fight for better rankings by utilizing search enhancements called Rich Results.