1

Can we add multiple JSON Code on a website like organization, services, local business?

1
  • 3
    For what purpose? Can you include an example?
    – unor
    May 13, 2019 at 5:10

1 Answer 1

1

Absolutely. In fact, it can frequently be useful to break up your JSON-LD structured data code snippets into smaller blocks of reusable scripts. This can prevent you from having to build and deploy a custom block for every single page, and from ending up with code that describes attributes that don't appear on a page. (You'll want to follow the guidelines and test your code.) Think of it as Atomic Design blocks for structured data.

Let's say your home page has a logo that appears on every page, corporate contact info, and a video. You also have a Contact page. Sure, you can combine the logo and contact info into one code block, but you can add the video markup via a second code block. That way, when you deploy your structured data on the Contact page, you can use the first block but leave out the video block.

Google doesn't care how many separate scripts you have, only that they're the right scripts for the page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.