Skip to main content
Solved

How can I add a discount tag in the subject line?

  • November 26, 2024
  • 2 replies
  • 83 views

Dipesh
Contributor II
Forum|alt.badge.img

Hi, can someone help me with this?

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. 

Hope that thelps

Andy

Gmail

   

 

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

Forum|alt.badge.img+6
  • Problem Solver IV
  • 29 replies
  • November 26, 2024
Dipesh wrote:

Hi, can someone help me with this?

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.

This might be helpful: How to add coupon in the email subject line with countdown timer | Klaviyo Community


bluesnapper
Partner
Forum|alt.badge.img+45
  • Champion & Partner
  • 731 replies
  • Answer
  • November 26, 2024

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. 

Hope that thelps

Andy

Gmail