[Now live] Setting to apply BlogPosting JSON-LD schema to blog posts

Action recommended: Turn on the new setting if you have not added any custom JSON-LD schema to your blog.

We added a brand new setting within the Blog Settings page that, when turned on, will automatically apply the BlogPosting schema to all blog posts within the selected blog.

This setting is turned OFF by default for all existing blogs, but ON for any new blogs created after the rollout. This means that users who would like us to apply the BlogPosting schema to their existing blog posts will have to go into their blog settings and turn this setting ON.

We chose to roll out the setting in the off position by default for existing blogs because many of our blog users have already either manually added schema markup to their post headers, or are using schema generator modules from our marketplace to add it. However, we do recommend that any customers that are not already using schema on their blog posts turn this on.

Structured data, also known as schema markup, or as JSON-LD markup, is a standardized format that helps search engines better understand the context of a page. In addition to helping search engines better understand a web page, schema markup is what Google uses to generate rich snippets on search results pages for special types of content, such as recipes, reviews, or products.

Having the BlogPosting schema on your blog posts can help you obtain article rich snippets on search results pages, like the ones shown below:

Instructions:

1. To turn on this setting and add structured data to your blog posts, go to your Settings > Website > Blog.

2. Use the domain picker at the top of the Blog settings page to select the domain you want to apply the setting for.

3. Look for the setting called “Structured data” under the “General tab”. From here, you can turn the setting on or off.

Hi @a_schumacher,
Is this possible to apply to all non-blog pages as well via a setting, or would customers need to apply this manually?

Thanks!

Nicole

The functionality is pretty cool. We would like to use it for our blogs. We used to do it manually before, but this would save us some work, but we miss “description”. Is there a way of adjusting what is shown here or simply including the markup?

Totally agree with @Fy, it would be nice to automatically include the description.

@a_schumacher

Thanks for the announcement. After more than a year, I was wondering if there is a way to edit the structured data for the blog? What is the roadmap for future features in this area?

Is there a way to add structured data for other web pages too?

I look forward to hearing from you.

@fabiansmg Have you tried Schema Helper for other types of HubSpot pages? They offer an inexpensive month-by-month subscription, so may be worth a try.

how i can display module_block in html like below
{% module_block module “widget_a115b9a8-4f62-4e72-90ed-be9c472abde9” %}{% module_attribute “child_css” is_json=“true” %}{% raw %}null{% endraw %}{% end_module_attribute %}{% module_attribute “css” is_json=“true” %}{% raw %}null{% endraw %}{% end_module_attribute %}{% module_attribute “label” is_json=“true” %}{% raw %}null{% endraw %}{% end_module_attribute %}{% module_attribute “module_id” is_json=“true” %}{% raw %}98251788440{% endraw %}{% end_module_attribute %}{% module_attribute “schema_version” is_json=“true” %}{% raw %}2{% endraw %}{% end_module_attribute %}{% module_attribute “slides” is_json=“true” %}{% raw %}[{“img”:{“src”:“https://1447395239.fs1.hubspotusercontent-eu1.net/hubfs/1447395239/15a.webp",“alt”:“15a”,“width”:1344,“height”:896},“hover\_message”:"Hover message”},{“img”:{“src”:“https://144739559.fs1.hubspotusercontent-eu1.net/hubfs/144739559/8a.webp",“alt”:“8a”,“width”:1344,“height”:896},“hover\_message”:"Hover message”},{“img”:{“src”:“https://1447395239.fs1.hubspotusercontent-eu1.net/hubfs/144739559/9a.webp",“alt”:“9a”,“width”:1344,“height”:896},“hover\_message”:"Hover message”}]{% endraw %}{% end_module_attribute %}{% module_attribute “tag” is_json=“true” %}{% raw %}“module”{% endraw %}{% end_module_attribute %}{% end_module_block %}

Hi there,

Please may I confirm: if we have already applied BlogPosting schema via Schema Helper to our existing blog content, do we leave this setting off? Thank you!

In the JSON-LD Schema, we also need to be able to see some details about the narration feature when enabled. ( Some audio related details - please see the example given below ).
That way we can see the audio player in the search result.
@a_schumacher can you please enlighten that part of the " BlogPosting JSON-LD schema to blog posts" ?
Because when it is enabled, we have no control of the scheme being generated by HubSpot anymore.
E.g

<script type="application/ld+json">
{
 "@context": "https://schema.org",
 "@type": "Article",
 "mainEntityOfPage": {
 "@type": "WebPage",
 "@id": "https://example.com/blog/post-url"
 },
 "headline": "What Is Breach and Attack Simulation (BAS)?",
 "description": "Learn the difference between BAS and Red Teaming and how automated assessments help validate defenses.",
 "datePublished": "2024-11-30T12:00:00+00:00",
 "dateModified": "2024-11-30T12:00:00+00:00",
 "author": {
 "@type": "Person",
 "name": "John Doe"
 },
 "publisher": {
 "@type": "Organization",
 "name": "Example Inc",
 "logo": {
 "@type": "ImageObject",
 "url": "https://example.com/logo.png"
 }
 },
 "audio": {
 "@type": "AudioObject",
 "contentUrl": "https://example.com/audio-file.mp3",
 "description": "What Is Breach and Attack Simulation (BAS)?",
 "duration": "PT15S",
 "encodingFormat": "audio/mpeg",
 "name": "116703180832-TTS-1719991339280"
 }
}
</script>