Suped

Gmail promotional tab annotations: JSON LD, JavaScript compatibility, and registration requirements

Summary

Gmail promotional tab annotations are a powerful feature allowing marketers to display rich snippets, such as images, deals, and expiration dates, directly within the promotions tab of the Gmail mobile app. These annotations aim to boost email engagement and visibility before the email is even opened. The core technology behind these annotations primarily relies on JSON-LD, a structured data format. While JSON-LD shares a linguistic resemblance with JavaScript, it is crucial to understand that it is not JavaScript itself and does not introduce JavaScript compatibility into emails. Google's official documentation provides comprehensive details on implementation.

What email marketers say

Email marketers often discuss Gmail annotations as a strategy to cut through inbox clutter, particularly in the competitive promotions tab. They frequently question the technical requirements, such as the use of JSON-LD versus JavaScript, and the need for any formal registration process with Google. Marketers are keen to understand how these visual enhancements can translate into tangible improvements in email engagement metrics, like open rates and click-through rates, without negatively impacting deliverability.

Marketer view

Email Marketer from Email Geeks indicates that adding JSON-LD for Gmail annotations is a direct way to enhance visibility within the promotions tab. It's a structured data format, not a call for JavaScript. We need to remember that while JSON looks like JavaScript, it is primarily a data formatting language. JavaScript itself would break email clients.The key is to leverage the visual elements, such as deal badges and images, to capture subscriber attention instantly, encouraging higher engagement. It’s all about making that first impression count when the email is still in the inbox view, especially on mobile devices where space is at a premium. These visual cues can significantly influence whether a user taps to open.

13 Dec 2018 - Email Geeks

Marketer view

Marketer from Email on Acid blog highlights that free tools are available to help generate the necessary code for Gmail annotations. These tools simplify the process, meaning you don't need to be an expert in JSON-LD or HTML to implement them. The goal is to make these valuable features accessible to all marketers, regardless of their technical background.Such tools are invaluable for testing and ensuring the markup is correctly formatted. A properly structured annotation ensures it displays as intended, avoiding any potential rendering issues in the Gmail app. This makes it easier to experiment with different annotation styles and see what resonates best with your audience.

11 Nov 2018 - Email on Acid

What the experts say

Email deliverability experts consistently advise on the technical nuances and implications of Gmail promotional tab annotations. They emphasize the clear distinction between JSON-LD and JavaScript, highlighting the security implications of executable code in email environments. Experts also clarify the registration requirements, or lack thereof, for standard annotations, guiding marketers toward correct implementation and realistic expectations for inbox placement. They stress that while annotations enhance visibility, they are not a substitute for fundamental good sending practices.

Expert view

Expert from Email Geeks notes that JSON-LD is a data format that is often mistaken for JavaScript due to its syntax. However, it functions purely as a way to structure data within an email for machine readability, enabling features like annotations without introducing any executable code. This distinction is critical for understanding email client capabilities and security protocols.Email clients are designed to prevent the execution of scripts within emails to protect users from malicious code. If JavaScript were allowed, it could lead to widespread security vulnerabilities, making phishing and malware distribution much easier. This foundational security principle governs how structured data, like JSON-LD, is processed.

14 Dec 2018 - Email Geeks

Expert view

Expert from SpamResource.com states that email deliverability is a complex ecosystem where every component, including structured data, plays a role. While annotations can improve visual appeal, they operate within the confines of established email standards and anti-spam measures. Focus on fundamental deliverability is key.This means that even with perfect annotations, if a sender's reputation is poor or their authentication records (like SPF, DKIM, DMARC) are misconfigured, their emails may still land in the spam folder or be blocked entirely. Annotations are an enhancement, not a solution to core deliverability problems.

25 Jan 2025 - SpamResource.com

What the documentation says

Official Google documentation outlines the technical specifications for implementing Gmail promotional tab annotations. It clarifies the supported markup languages, primarily JSON-LD, and provides detailed examples and testing tools. The documentation emphasizes the display context, noting that annotations are specifically for the Gmail mobile app's promotions tab. Crucially, it highlights that these annotations enhance existing promotional emails rather than altering their initial inbox placement.

Technical article

Google for Developers documentation outlines how to annotate emails in the Promotions tab using JSON-LD. It states that this structured data should be embedded in the <head> of the email using a script tag. This method ensures that the email client can properly parse the metadata and display the enhanced features without executing any scripts.The documentation specifies the schema.org vocabulary to be used, ensuring consistency and machine readability. This structured approach allows Gmail to understand the context of the promotional information, enabling features like images, offers, and expiration dates to be displayed effectively.

13 Dec 2018 - Google for Developers

Technical article

The Gmail documentation for previewing annotations requires that the annotation contain at least two eligible promotion cards for effective testing. It also advises on aspect ratios for images within promotion cards. Adhering to these guidelines is crucial for ensuring the annotations render correctly and appear visually appealing to recipients.Consistent image aspect ratios contribute to a professional and uniform appearance within the promotions tab. Google's strict requirements aim to provide a high-quality user experience, filtering out malformed or poorly designed annotations that might detract from the overall interface.

13 Dec 2018 - Google for Developers

14 resources

Start improving your email deliverability today

Get started