For example, here in this eg: I have a discount tag saying “Black Friday Sale.” I’ve also seen other similar phrases like “20% OFF” and sometimes tags like “Discount Expiring”.
How can I achieve this in my emails?
PS:The above image is a screenshot of my inbox. I don’t think the tag is in either the subject line or the preview text.
Best answer by bluesnapper
Hi @Dipesh
What you’re seeing is an annotation (possibly in Gmail?) . It is possible to add this following the guidelines here: https://help.klaviyo.com/hc/en-us/articles/23145809959707 though inbox providers may not always show the annotation.
This works (see below in Gmail web) by adding this, for example, to a text block in the footer:
<div itemscope itemtype="http://schema.org/DiscountOffer"> <meta itemprop="description" content="30% Off Black Friday"/> <meta itemprop="discountCode" content="BF30"/> <meta itemprop="availabilityStarts" content="2024-11-25"/> <meta itemprop="availabilityEnds" content="2024-11-27"/> </div>
I think the help page above may be out of date regarding having to request Google to add you to an allowlist. I haven’t!
Note: Klaviyo states that this can only be used in a custom/hybrid HTML but my example uses the drag and drop editor to add that scheme to a text box. If you can reach out to Klaviyo to confirm it’s OK to use this way, I would. I would also test over a range of email clients.
For example, here in this eg: I have a discount tag saying “Black Friday Sale.” I’ve also seen other similar phrases like “20% OFF” and sometimes tags like “Discount Expiring”.
How can I achieve this in my emails?
PS:The above image is a screenshot of my inbox. I don’t think the tag is in either the subject line or the preview text.
What you’re seeing is an annotation (possibly in Gmail?) . It is possible to add this following the guidelines here: https://help.klaviyo.com/hc/en-us/articles/23145809959707 though inbox providers may not always show the annotation.
This works (see below in Gmail web) by adding this, for example, to a text block in the footer:
<div itemscope itemtype="http://schema.org/DiscountOffer"> <meta itemprop="description" content="30% Off Black Friday"/> <meta itemprop="discountCode" content="BF30"/> <meta itemprop="availabilityStarts" content="2024-11-25"/> <meta itemprop="availabilityEnds" content="2024-11-27"/> </div>
I think the help page above may be out of date regarding having to request Google to add you to an allowlist. I haven’t!
Note: Klaviyo states that this can only be used in a custom/hybrid HTML but my example uses the drag and drop editor to add that scheme to a text box. If you can reach out to Klaviyo to confirm it’s OK to use this way, I would. I would also test over a range of email clients.
Hope that thelps
Andy
Gmail
Search saves time. Contributing compounds value.
The ROI of your reply? One helpful answer can support dozens of teams, build your credibility, sharpen your own expertise over time, foster connectivity, and create good karma – because what goes around comes around. The community is what YOU make it.