Hello,
I am attempting to implement this Promotions tab feature for Gmail as detailed here: Annotate emails in the Promotions tab | Gmail | Google for Developers
Using the Design Manager, I created an email with the required code:
<head>
<div itemscope itemtype=“http://schema.org/DiscountOffer”>
<meta itemprop=“description” content=“20% OFF”/>
<meta itemprop=“discountCode” content=“SAVE20”/>
</div>
</head>
However, on output, the div is removed from the head tag and placed in the body tag.
@Jaycee_Lewis thank you for this response. I too am having trouble implementing this in my emails. I did put in the json code above. However, I put it right under the <head> (see image) and I cannot get this to work as planned either. Any advice? Do I need a double <head>PLUS SCRIPT</head>?