JSON-LD As a Data Layer in Launch | Community
Skip to main content
New Participant
June 6, 2018
Solved

JSON-LD As a Data Layer in Launch

  • June 6, 2018
  • 1 reply
  • 2295 views

Has anyone thought about using JSON-LD for the data layer in Launch? We are thinking it would combine all our SEO and page information for subsequent analytics calls.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Stewart_Schilling

I thought about it for a day or two.  It seemed like a really good idea until I really started digging into it.

I ran into a couple of issues.

1) JSON-LD (using the Schema.org schemas) is a solution designed around SEO (and Google, for the most part).  The format of your JSON-LD snippets will always be chasing Google's preferred structure for communicating any given context.  This means that you are aiming at a moving target (slowly moving, but still...).  Also, when you try to layer the additional information required for analytics and other mar-tech onto the ordained schemas, you step into the unknown and are left wondering if the additional attributes you've added will help or hinder in your SEO placement.

2) JSON-LD (using the Schema.org schemas) is a solution that has only been thought through for the non-transaction parts of websites.  Since it is built for SEO, things like carts, wishlists, user registrations, user interactions aren't really spelled out for you on Schema.org. Again, I quickly found myself in uncharted territory.  If I were defining a data layer for a fully authenticated experience (i.e. online banking), I think Schema.org JSON-LD would be a very odd fit.

Depending on the site you have and your needs for analytics, you might find a better fit than I did.  I just wanted to share my experience, FWIW.

-Stew

1 reply

Stewart_Schilling
Stewart_SchillingAccepted solution
New Participant
June 7, 2018

I thought about it for a day or two.  It seemed like a really good idea until I really started digging into it.

I ran into a couple of issues.

1) JSON-LD (using the Schema.org schemas) is a solution designed around SEO (and Google, for the most part).  The format of your JSON-LD snippets will always be chasing Google's preferred structure for communicating any given context.  This means that you are aiming at a moving target (slowly moving, but still...).  Also, when you try to layer the additional information required for analytics and other mar-tech onto the ordained schemas, you step into the unknown and are left wondering if the additional attributes you've added will help or hinder in your SEO placement.

2) JSON-LD (using the Schema.org schemas) is a solution that has only been thought through for the non-transaction parts of websites.  Since it is built for SEO, things like carts, wishlists, user registrations, user interactions aren't really spelled out for you on Schema.org. Again, I quickly found myself in uncharted territory.  If I were defining a data layer for a fully authenticated experience (i.e. online banking), I think Schema.org JSON-LD would be a very odd fit.

Depending on the site you have and your needs for analytics, you might find a better fit than I did.  I just wanted to share my experience, FWIW.

-Stew