I am trying to implement code to get the annotations in the Promotions tab for a clients newsletter and i do get it to work. However, it only shows the annotations after i reload the Promotions tab, or open and close the e-mail in question. I tried with ld+json and with Microdata. Both get the same issue.
Is this a known issue? or am i doing something wrong?
Below is the code i tried:
<script type="application/ld+json">
[{
"@context": "http://schema.org/",
"@type": "Organization",
"logo": "https://www.website.com/images/logo.png"
},{
"@context": "http://schema.org/",
"@type": "DiscountOffer",
"description": "15% off",
"availabilityEnds": "2018-12-30T23:59:59-0100"
},{
"@context": "http://schema.org/",
"@type": "PromotionCard",
"image": "https://www.website.com/images/promotionbanner.jpg"
}]
</script>
And this is the microdata i tried
<div itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="nameofthecompany"/>
<meta itemprop="url" content="https://www.website.nl/">
<meta itemprop="logo" content="https://www.website.com/images/logo.png" />
</div>
<div itemscope itemtype="http://schema.org/PromotionCard">
<meta itemprop="image" content="https://www.website.com/images/promotionbanner.jpg"/>
</div>
<div itemscope itemtype="http://schema.org/DiscountOffer">
<meta itemprop="description" content="15% off"/>
<meta itemprop="availabilityEnds" content="2018-12-30T23:59:59-0100"/>
</div>
Do you see the annotations in the promotion tab?Can you send a demo to my email([email protected]) if you success on it.