Hi everyone! I’m not sure if I’m in the right area to post this, but I’ve recently noticed brands under the Gmail > Promotions tab displaying products under their subject lines. I’d like to know how to do this, specifically, with a Hubspot drag and drop email template. Heard I’ll have to embed custom JSON-LD code into an HTML block, but is this possible on a drag and drop Hubspot email? I’m not trying to create a custom, coded email template but would like to optimize the HUbspot drag and drop templates I already am using. Thank you!
Hey @Ghpark,
Thanks for posting in the Community!
This is an interesting use case! While I’m not sure this is available within HubSpot, I’d like to tag in a few experts to see if they’re aware of any context that may help us build out this design. @Josh, @TomM2, and @Ben_M - are any of you aware of how this might be possible?
Shane, Senior Community Moderator
I would love to see this being built out in Hubspot drag and drop email templates. Is that something that’s possible to do?
Hey @Ghpark,
Great question! For this, we would recommend posting your idea directly in our Ideas Forum. This would allow other users to upvote your idea, expand on it, and present the need directly to our Product team.
I hope this helps!
Shane, Senior Community Moderator
Hi @Ghpark ,
I have been dabbling in building website templates, but this sounds like something that would need to be created as a new message template.
I verified this with ChatGPT, it was confirmed that this would have to be a custom email template, but I also got some additional information from it that would be helpful for you:
-
You need to:
- Create a coded email template in HubSpot
- Insert JSON-LD in the
<head>``
-
Important Requirements (Most People Miss This)Even if you add JSON-LD…
Gmail will ONLY show annotations if:
1. You’re allowlist by Google
You must register here:
https://developers.google.com/gmail/promotions/register
I hope this helps.
Hi @Ghpark,
This is Gmail Promotions Annotations, which use JSON-LD markup to display product images, prices, and offers under the subject line.
In HubSpot, this can be done with drag-and-drop emails, but the key is adding the JSON-LD inside an HTML module in the email. You don’t necessarily need a fully coded template, adding a custom HTML block at the top of your email with the proper JSON-LD markup usually works.
A couple of things to keep in mind though:
- This feature only works in Gmail Promotions, not other inboxes
- Gmail decides when to show it, adding markup doesn’t guarantee display
- Your sending domain needs good reputation and consistent volume
- The JSON-LD must follow Gmail Promotions schema format
So yes, it’s possible with drag-and-drop emails, but you’ll need to add a small HTML block with the JSON-LD snippet, and then test using Gmail accounts to see if the annotations render.
(Taken help from ai)
