There appears to be a bug in the split(...) filter when using the email module. The following code will split the contents of a HubSpot property correctly on a Landing Page, derlivering a bulleted list of the contents using semicolons as separators, but the exact same code and contact property data does not split the contents of the contact property in the email module
{% set string_to_split = contact.industry %} {% set names = string_to_split|split(';', 9) %} <ul>{% for name in names %} <li>{{ name }}</li>{% endfor %} </ul>
It's not a bug. Filters cannot be used with contact/company properties in email templates.
I worked on trying to use filters in email templates for hours until I read it in the docs.
"Please note that using filters on personalization variables (contact and company variables) is not currently supported for email in HubSpot. Filters can be applied to these properties on COS page and blog templates."
It's not a bug. Filters cannot be used with contact/company properties in email templates.
I worked on trying to use filters in email templates for hours until I read it in the docs.
"Please note that using filters on personalization variables (contact and company variables) is not currently supported for email in HubSpot. Filters can be applied to these properties on COS page and blog templates."