Skip to main content

I’m trying to setup a Show Hide logic in a Browse Abandoned email that would show a block if the {{ event.Value|default:'' }} is less than 200

 

In Klaviyo I tried entering a logic code of event.Value < 200 but it’s not working. I’m not sure if what I’m entering is incorrect or if it’s something else like the {{ event.Value|default:'' }} coming in as a text value, which I’m not sure how to resolve.

 

Any help would be greatly appreciated

Hi @Madhappy

 

Thank you for posting in the Community!

 

Ensure Proper Data Type: If {{ event.Value|default:'' }} is being recognized as a text value, you need to convert it to a number in your conditional logic. I think that would help, as event value is a number-based type. 

 

Hope that helps! :-) 

 

Christian Nørbjerg Enger
Partner & CPO

Web: Segmento.dk
LinkedIn: @christianfromsegmento
Voldbjergvej 22b, 8240 Risskov


how do you convert it to a number please?


Reply