Email Marketing Tool

Katia_A
Participant

delimiter for multiple checkbox properties used as token

Résolue

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 Solution acceptée
alyssamwilie
Solution
Expert reconnu | Partenaire solutions Elite
Expert reconnu | Partenaire solutions Elite

delimiter for multiple checkbox properties used as token

Résolue

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.

Voir la solution dans l'envoi d'origine

3 Réponses
alyssamwilie
Solution
Expert reconnu | Partenaire solutions Elite
Expert reconnu | Partenaire solutions Elite

delimiter for multiple checkbox properties used as token

Résolue

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
Participant

delimiter for multiple checkbox properties used as token

Résolue

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 Votes
Katia_A
Participant

delimiter for multiple checkbox properties used as token

Résolue

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.