Solved

Show/hide logic for discount code

  • 25 September 2023
  • 2 replies
  • 178 views

Badge +2

I want to create a section in my abanoned cart email for if a subscriber has not used their first purchase discount code yet that reminds them they still can use it. I am creating a show/hide logic for the section but I cant seem to find the logic input for it.

When customers fill out the form customers are tagged with a profile property “used sign up form (profile property) = yes (value).

How do I find the logic for this? Is this something I can do?

Thanks!

icon

Best answer by Omar 26 September 2023, 10:35

View original

2 replies

Userlevel 6
Badge +21

Hey @tthomas1912 ,

You could try and do a conditional split. People who have “yes” as that property see version A of the email that includes their promo code, everyone else gets the B version that sees the email without the promo code. Bonus, you can test the effectiveness of the two messages this way as well.

Userlevel 7
Badge +44

@tthomas1912 Are your first purchase discounts time sensitive? meaning do they expire within a specific timeframe?

To give some answers to your question and solve this issue I think it's important to also consider that with fill in a form = yes does not equal they haven't used their coupon yet.

So someone can have this property set to yes but also already have used their coupon.

In order to solve this issue I think you would need to use some Klaviyo magic and also use the Klaviyo Update Profile Property functions in a flow.

In the welcome flow, the one handing out the coupon I would add a step, either directly before or directly after the first email that updates the profile property and adds a profile property - i.e. “received welcome discount = true”.

I would then create another flow, that is triggered on a placed order event, that then removes this property or sets it to false.

Lastly I would also create yet another flow, triggered on subscribe to the same list, that also set's this property to false (with a filter on placed order since starting this flow, because the previous placed order flow will then take precedence).

If you want to completely go wild, you can also create a webhook action in the welcome flow that updates the profile property and sends the coupon code as a profile-property that you can then re-use as well in i.e. campaigns that you're sending.

This would actually be an awesome feature to have in Klaviyo if you'd be able to dynamically call this information. Klaviyo is showing which coupons are active for customers so would be great if you could have this as a condition as well.

 

Anyway I hope this has helped somehow.

 

Omar Lovert // Polaris Growth // Klaviyo Master Platinum Partner

We help with e-commerce growth through CRO, Klaviyo and CVO

Reply