Skip to main content
Contributor II
January 15, 2025
Solved

Show/Hide logic based on Shopify Segments

  • January 15, 2025
  • 4 replies
  • 222 views

Hi all,

We created 5 Shopify Segments based on certain behaviors and purchase history (or lack of). Now I’d like to use Show/Hide logic in campaigns to display content that is different for each different Shopify segment. 

 

If anyone has done this or has advice on how-to please lmk. ty!!

    Best answer by ArpitBanjara

    Hey ​@rak-mktg 

    Since you are using purchase history as one of your criteria, I would suggest you use a flow (instead of a campaign), and trigger it with the placed order metric and use other behaviours as flow filters that will allow/restrict those profiles from entering the flow (which will mimic your segment conditions), and then in the email template use a dynamic block to show certain things to relevant customers using show/hide logic.

    While in a campaign, the show/hide logic is applicable only to custom properties attached to each profile

    so basically when you said in your question that you’d like to use Show/Hide logic in campaigns to display content that is different for each different Shopify segment. which means you will only be using custom properties attached to profiles in the segment, and you wont be able to use event based (Placed order) data in your campaigns.

    Let me know if this makes sense,

    I hope this helps and thank you for sharing your question here in the community.

    Cheers

    Arpit

    4 replies

    ArpitBanjara
    Principal User II
    Principal User II
    January 16, 2025

    Hey ​@rak-mktg 

    Since you are using purchase history as one of your criteria, I would suggest you use a flow (instead of a campaign), and trigger it with the placed order metric and use other behaviours as flow filters that will allow/restrict those profiles from entering the flow (which will mimic your segment conditions), and then in the email template use a dynamic block to show certain things to relevant customers using show/hide logic.

    While in a campaign, the show/hide logic is applicable only to custom properties attached to each profile

    so basically when you said in your question that you’d like to use Show/Hide logic in campaigns to display content that is different for each different Shopify segment. which means you will only be using custom properties attached to profiles in the segment, and you wont be able to use event based (Placed order) data in your campaigns.

    Let me know if this makes sense,

    I hope this helps and thank you for sharing your question here in the community.

    Cheers

    Arpit

    Arpit Banjara - Lead Email Marketing Specialist at Flowium
    bluesnapper
    Partner
    Champion & Partner
    January 16, 2025

    Welcome to the community ​@rak-mktg 

    Can you share the criteria for your Shopify segments? That will allow a specific approach to be suggested.

    Regards

    Andy

    https://bluesnapper.com - Klaviyo Champion '24 & Partner
    rak-mktgAuthor
    Contributor II
    January 16, 2025

    We sell refill products based on what was previously purchased, bluesnapper.

     

    For example:

    If purchased Product 1, 2 or 3 - show refill A in email

    If purchased Product 4, 5 or 6 - show refill B in email

    If purchased Product 7, 8 or 9 - show refill C in email

     

    thanks!

    stephen.trumble
    Klaviyo Alum
    January 29, 2025

    Hey ​@bluesnapper 

    Do you have an answer for this? Don’t want to step on your knowledgable toes. 

    -Stephen