- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
If statement to check list/contact membership status
SOLVEMay 31, 2018 11:21 AM
Hi,
In HubSpot you can create smart CTAs that display based on contact list membership.
I was wondering if/how this could be executed as an if statement within a HubL template. For example; if user is in contact list display this content else display something else.
Thanks,
Benji
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Accepted Solutions
Jun 4, 2018 5:18 AM
This is certainly possible.
You should use the hulb IF/Statements in combination with the Hubspot Develerop Info.
Therefor, visit your page while logged in and open Developer info - see if you can find properties that show the user is known or not. (probably contact email or so).
You can use this value in your IF/Else statement 🙂
Developer Info:
https://designers.hubspot.com/docs/hubl/how-to-use-developer-info-on-cos-pages
IF/ELSE
https://designers.hubspot.com/docs/hubl/if-statements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content