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.

Example JSON-LD for SEO product data with an ID
  • Organization/Store/Local Business – your store url with the suffix of #org.
  • Website – your store url with the suffix of #website.
  • Products – your product’s canonical url with the suffix of #json-ld-for-seo.
  • Variants – your variants url with the suffix of #json-ld-for-seo-variants.
  • Blog posts – your blog post’s canonical url with the suffix of #article.
  • Shopify pages – your page’s canonical url with the suffix of #article.
  • Videos – the page’s canonical url with the suffix of #video.
  • Recipes – the page’s canonical url with the suffix of #recipe.
  • FAQs – the page’s canonical url with the suffix of #faq.
  • HowTo – the page’s canonical url with the suffix of #howtos.
  • Breadcrumbs – do not include an @id but will be with the other JSON-LD for SEO code.

Other apps have been known to use the same IDs so if you see problems, you’ll want to double-check for the HTML comments to make sure you’re looking at the right data. I know of several apps that copied JSON-LD for SEO’s codes and IDs and thus break the Shopify store’s structured data (which is why I personally review every customer’s store after installing now).

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.

Linking Llama

Link discontinued products to their best substitute. Keep discontinued products published on your website and continue to benefit from traffic to these pages.