- 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 for Email or Page
SOLVEApr 3, 2018 8:49 AM
Is there a way to check if the user is using a module on an email or a landing/webpage?
For example:
{% if webpage %} xyz {% elif email_template %} pdq {% endif %}
Will you please help the community and give me some street cred by marking my answer as a solution if helped you? I'm fixing to buy a minivan and my cool points are running low.
Curious cats can find me at Ascend Inbound Marketing
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Accepted Solutions
Apr 4, 2018 3:13 AM
I'm not sure but I would assume that that type of info you could find the developers info.
Check out this post:
https://designers.hubspot.com/docs/hubl/how-to-use-developer-info-on-cos-pages
It's quite possible you'll find a reference to which type of page you are on and then you can use the conditional statements to do what you like depending of the type of page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content