Email Marketing

Beyond the Subject Line: How to Display Product Images in Gmail Promotions with HubSpot

Ever open your Gmail and see those eye-catching product images or special offers right there, nestled underneath the subject line in your Promotions tab? It’s a brilliant way for e-commerce brands to stand out in a crowded inbox, instantly giving recipients a visual taste of what’s inside. If you’re running a storefront and using HubSpot for your CRM and sales, you’ve probably wondered how to pull off this magic trick yourself.

Recently, a lively discussion popped up in the HubSpot Community about exactly this. The original poster was eager to know how to add these product images, specifically within a HubSpot drag-and-drop email template. They’d heard it involved embedding custom JSON-LD code and wondered if it was possible without diving into custom coded emails.

This feature, known as Gmail Promotions tab annotations, transforms a standard email preview into a dynamic showcase, complete with product images, deal badges, and expiration dates. For any business focused on e-commerce, this isn't just a nice-to-have; it's a powerful tool to increase visibility, click-through rates, and ultimately, conversions.

A developer editing a HubSpot coded email template, showing JSON-LD code in the HTML <head> section.
A developer editing a HubSpot coded email template, showing JSON-LD code in the HTML section.

The HubSpot Drag-and-Drop Dilemma: A Community Deep Dive

The core of the original poster’s question revolved around HubSpot’s drag-and-drop templates. These templates are fantastic for speed and simplicity, letting marketers build beautiful emails without touching a line of code. They are perfect for businesses focused on efficient ecommerce website hosting and design, allowing rapid deployment of campaigns.

But when it comes to highly specialized features like Gmail’s Promotions tab annotations, things get a little more technical. A community moderator acknowledged the interesting use case and rallied some experts for input. The consensus, later confirmed by another community member who even consulted an AI for verification, was clear: while this functionality is definitely achievable, it’s not a native feature of HubSpot’s drag-and-drop templates.

This means that while HubSpot’s drag-and-drop builder excels at visual design and content arrangement, it doesn't provide a direct interface for embedding the specific structured data (JSON-LD) that Gmail requires for these annotations. For those aiming to truly build your own ecommerce website with advanced email marketing capabilities, a deeper dive into HubSpot's development tools is necessary.

The Solution: Embracing Coded Email Templates and JSON-LD

To display those captivating product images under your subject lines, you'll need to leverage HubSpot’s coded email templates and embed JSON-LD. JSON-LD (JavaScript Object Notation for Linked Data) is a lightweight data-interchange format that helps search engines and email clients understand the content of your page or email. In this case, it tells Gmail exactly what product or offer to highlight.

Here’s a simplified example of what JSON-LD for an email annotation might look like:

This snippet, placed within the section of your email, provides Gmail with structured data about your promotion. Key properties include image (the main promotional image), headline, callToAction, callToActionUrl, and detailed offers including price, priceCurrency, and the itemOffered. The validThrough property is crucial for displaying expiration dates.

Crucial Steps for Implementation: Don't Miss These!

1. Google Whitelisting/Registration: The Non-Negotiable Step

Even if you perfectly craft your JSON-LD, Gmail will ONLY show annotations if your sender domain is whitelisted by Google. This is a critical step that many overlook. You must register your sending domain with Google's Promotions Tab Annotations Registration Tool. This process helps Google verify you as a legitimate sender and prevents spam, ensuring your carefully designed promotions reach their intended audience.

2. Crafting Your Coded Email Template in HubSpot

To implement the JSON-LD, you’ll need to create or modify a coded email template in HubSpot. Here’s how:

  • Navigate to Design Tools: In your HubSpot account, go to Marketing > Files and Templates > Design Tools.
  • Create a New Coded File: Choose 'File' > 'New file' > 'Email template' > 'Coded email'.
  • Embed the JSON-LD: Paste your JSON-LD script within the tags of your HTML email code. For ESHOPMAN users, this is where you can dynamically pull product data from your HubSpot Commerce products using HubL (HubSpot Markup Language) to populate the JSON-LD fields, ensuring your annotations are always up-to-date with your latest product information.
  • Design Your Email Body: Below the , you can then build out the rest of your email body using standard HTML and CSS, incorporating drag-and-drop modules if your coded template is set up to support them.

This approach gives you granular control, allowing you to tailor your email experience precisely. It's an advanced customization that empowers you to truly build your own ecommerce website's email marketing strategy with HubSpot.

3. Testing and Monitoring

After setting up your coded template, send test emails to a Gmail account. Crucially, check the Promotions tab to ensure your annotations appear correctly. Monitor your email campaign performance in HubSpot to see the impact on open rates, click-through rates, and conversions. A/B test different images, headlines, and offers within your JSON-LD to optimize for engagement.

Why This Matters for Your ESHOPMAN Storefront and HubSpot Strategy

For ESHOPMAN users, integrating Gmail Promotions tab annotations can significantly elevate your e-commerce and HubSpot RevOps strategy:

  • Increased Visibility: Stand out in a crowded inbox, grabbing attention instantly.
  • Higher Engagement: Visuals and clear offers lead to more clicks and interactions.
  • Enhanced Trust: Google's whitelisting process adds a layer of credibility to your brand.
  • Streamlined Customer Journey: Direct links from the inbox to product pages reduce friction in the buying process.
  • Competitive Edge: While platforms like a Wix merch store might offer basic email features, HubSpot and ESHOPMAN empower you with advanced, data-driven strategies that truly differentiate your marketing efforts.

By leveraging HubSpot's powerful CRM and email tools with these advanced coding techniques, you transform your email marketing from a mere communication channel into a dynamic sales driver, directly impacting your bottom line.

Beyond Coded Emails: What if I'm Not Ready?

If diving into coded email templates and JSON-LD feels like a leap, don't worry. You can still enhance your email engagement significantly:

  • Compelling Subject Lines: Craft captivating subject lines that encourage opens.
  • Strong Hero Images: Use high-quality, relevant hero images at the top of your email to visually hook recipients immediately.
  • Personalization: Leverage HubSpot's personalization tokens to make emails feel tailored to each recipient.
  • Clear CTAs: Ensure your calls to action are prominent and enticing.

The original poster also expressed a desire to see this functionality built into HubSpot's drag-and-drop templates. This is a fantastic idea for the future! If you agree, consider posting or upvoting this suggestion in the HubSpot Ideas Forum. Your feedback helps shape the platform's evolution.

Ultimately, while the path to displaying product images under subject lines requires a bit more technical finesse, the payoff in terms of email performance and customer engagement is well worth the effort. ESHOPMAN is committed to helping you maximize your HubSpot investment, bridging the gap between powerful e-commerce and seamless CRM integration.

Share: