As HubSpot CMS developers, enhancing your page’s SEO and visibility in search engines is key. One way to do this is by adding structured data markup using JSON-LD. Here’s a quick snippet you can use to add structured data for a product on your HubSpot page:
Change “b2bcompany” to your specific company name and domain name.
{% require_head %}
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Product",
"name": "{{ module.title }}",
"description": "{{ content.meta_description }}",
"image": "{{ module.product_image.src|escape_url }}",
"brand": {
"@type": "Brand",
"name": "b2bcompany"
},
"offers": {
"@type": "Offer",
"url": "{{ request }} ",
"priceCurrency": "USD",
"price": "0",
"priceSpecification": {
"@type": "PriceSpecification",
"priceCurrency": "USD",
"price": "0",
"valueAddedTaxIncluded": "false"
},
"eligibleRegion": {
"@type": "Place",
"name": "Global"
},
"seller": {
"@type": "Organization",
"name": "b2bcompany"
}
},
"additionalType": "http://schema.org/Offer",
"potentialAction": {
"@type": "Action",
"name": "Request a Quote",
"target": "https://www.b2bcompany.com/rfq"
}
}
</script>
{% end_require_head %}