Skip to main content
Solved

Can you setup a show/hide block based on subscription?


sachin16
Active Contributor IV
Forum|alt.badge.img+8

Hello,

Any idea which type of code will be use for show hide block for example:

Show hide block - showing the block only if they have the product in there subscription.

This type of show hide block which code will be use for this.

Thank you.

Best answer by Taylor Tarpley

Hi there @sachin16

 

Good to see you again, happy to help! 

 

Essentially the code you will be working with will be based on whether you’re using profile properties to determine whether a block shows or hides or event data. For instance, is this subscription product for the customer in recent event data or a property added to their profile? This would impact whether you use a  person|lookup or event|lookup code. Our documentation on show hide blocks will help walk you through which code to use depending on what type of data you want to use for this feature.  

 

Additionally, checking out these helpful threads explaining show/hide in more detail might help gain more insight! 

 

Hope this helps!

-Taylor 

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

2 replies

Taylor Tarpley
Community Manager
Forum|alt.badge.img+60
  • Community Manager
  • 2148 replies
  • Answer
  • October 11, 2022

Hi there @sachin16

 

Good to see you again, happy to help! 

 

Essentially the code you will be working with will be based on whether you’re using profile properties to determine whether a block shows or hides or event data. For instance, is this subscription product for the customer in recent event data or a property added to their profile? This would impact whether you use a  person|lookup or event|lookup code. Our documentation on show hide blocks will help walk you through which code to use depending on what type of data you want to use for this feature.  

 

Additionally, checking out these helpful threads explaining show/hide in more detail might help gain more insight! 

 

Hope this helps!

-Taylor 


sachin16
Active Contributor IV
Forum|alt.badge.img+8
  • Author
  • Active Contributor IV
  • 25 replies
  • October 11, 2022

Thank you Taylor for giving me answer.