Skip to main content
Solved

Show/Hide logic based on Shopify Segments


Forum|alt.badge.img

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

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

4 replies

ArpitBanjara
Principal User I
Forum|alt.badge.img+36
  • Principal User I
  • 371 replies
  • Answer
  • 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


bluesnapper
Partner
Forum|alt.badge.img+45
  • Champion & Partner
  • 728 replies
  • 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


Forum|alt.badge.img
  • Author
  • Contributor I
  • 4 replies
  • 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
Community Manager
Forum|alt.badge.img+60

Hey ​@bluesnapper 

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