How to add schema to different landing pages in Hubspot
resolver
How can I add schcema to different landing pages in hubspot, I have a document from my SEO Team with the schema to update in each page, but I'm not sure where to update it
How to add schema to different landing pages in Hubspot
resolver
If your question is where to update the schema - for each of your pages, enter the editor mode, then go to the settings tab, then scroll down to "advanced options" and there you'll see an "Additional code snippets" section. Paste your schema in the "head html" editor you see there. Save & publish. See an example below for instance. Cheers
How to add schema to different landing pages in Hubspot
resolver
If your question is where to update the schema - for each of your pages, enter the editor mode, then go to the settings tab, then scroll down to "advanced options" and there you'll see an "Additional code snippets" section. Paste your schema in the "head html" editor you see there. Save & publish. See an example below for instance. Cheers
How to add schema to different landing pages in Hubspot
resolver
Hello @AYadav, sorry I'm not an expert with schemas but as far as I know you need different JSON-LD codes for each page, right?
If that's the case, you can add different pieces of code to your template according to, for example, the URL or some property in a custom module, for example.
Let's say you have 3 different schemas for 3 different pages that are using the same template. In this case, what I would suggest is adding a custom module to your template so you can add the schema for each page.
Another solution could be using macros to detect the URL and return the correct schema.
I believe you have different solutions here, it's up to you to decide what works better for you.
How to add schema to different landing pages in Hubspot
resolver
@albertsg idea's are good, however, if you're not a developer or if you want a simpler way of doing this/editing the schema in the future for other people, you could simply add a default HTML module anywhere to your page and then copy the schema in between script tags e.g.