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

  • 8 October 2022
  • 2 replies

Userlevel 3
Badge +8


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 11 October 2022, 16:40

View original

2 replies

Userlevel 7
Badge +60

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!


Userlevel 3
Badge +8

Thank you Taylor for giving me answer.