Email Marketing Tool

Katia_A
Participante

delimiter for multiple checkbox properties used as token

resolver

Hi!

 

I'm using a multiple checkbox property, containing multiples values for single contact, as a token to personalize an E-Mail.

 

Testing out the E-Mail I saw that the delimiter between the values of the property is a comma ",". 


Is it possible to personalize the delimiter in the token?

 

In my case I would like to use the semicolon as we send a set of personalized codes that can be used to activate products in our plattform. With a semicolon the customer can just copy-paste the code from the E-Mail, as our app was developed with it as delimiter.

1 Solução aceita
alyssamwilie
Solução
Especialista reconhecido(a) | Parceiro Elite
Especialista reconhecido(a) | Parceiro Elite

delimiter for multiple checkbox properties used as token

resolver

Hi @Katia_A !

You can use the |replace filter on your token to replace the comma with a semicolon.

 

{{ contact.your_token|replace(',',';') }}

 

If you click Advanced > Source Code in the WYSIWYG you should be able to edit the token code from there.

wysiwyg.png

 

sourcecode.png

 

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.

Exibir solução no post original

3 Respostas 3
alyssamwilie
Solução
Especialista reconhecido(a) | Parceiro Elite
Especialista reconhecido(a) | Parceiro Elite

delimiter for multiple checkbox properties used as token

resolver

Hi @Katia_A !

You can use the |replace filter on your token to replace the comma with a semicolon.

 

{{ contact.your_token|replace(',',';') }}

 

If you click Advanced > Source Code in the WYSIWYG you should be able to edit the token code from there.

wysiwyg.png

 

sourcecode.png

 

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.
JAalbers
Participante

delimiter for multiple checkbox properties used as token

resolver

Hi Alyssa, I have the same issue and tried your solution but it doesn't work. Unfortunately HubL filters don't work in e-mail, but only on Hubspot pages. See: https://developers.hubspot.com/docs/cms/hubl/filters

Do you have another solution perhaps? Thanks in advance! 

0 Avaliação positiva
Katia_A
Participante

delimiter for multiple checkbox properties used as token

resolver

Hi Alyssa

 

Thank you a lot for your suggestion! I tryied it out but I didn't manage to make it work 😞

Our dev team was faster than me anyway and changed our app, so it is done for me, for now.