Skip to main content

Is it possible to show / hid a block based on if they are in a segment? I know you can based on profile property but was hoping you can based on segment too.

Hey @zach.scheimer 

Thanks for reaching out for help with show/hide logic.

Show/Hide logic cannot be based on if a profile is in a certain segment or list. It can only be based on profile properties, or if the show/hide logic is in an email that is a metric triggered flow, then the show/hide logic can also be based on the event data of the flow's trigger. 


The workaround here would be to: create a segment-triggered flow that has an Update Profile Property card in it. Whenever someone joins a segment, they enter the flow, and get a profile property. You would also want to create a flow to remove that profile property when someone is no longer in that segment. 

You would pretty much make a segment that has the opposite definitions of your original segment. So whenever someone leaves your original segment, they join this other segment, enter this other flow, and have the property removed. 

Hope this helps!


Gotcha - would it be possible to have multiple statements within one show / hide? LIke:

'124LTV' in person|lookup:'Shopify Tags' OR '125LTV' in person|lookup:'Shopify Tags'

 


Reply