Email Marketing Tool

Katia_A
Participant

delimiter for multiple checkbox properties used as token

SOLVE

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 Accepted solution
amwilie
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

delimiter for multiple checkbox properties used as token

SOLVE

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

Web Developer at Lynton

Kickstart your success on HubSpot's CMS with a theme by the HubSpot experts at Lynton

 

View solution in original post

2 Replies 2
amwilie
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

delimiter for multiple checkbox properties used as token

SOLVE

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

Web Developer at Lynton

Kickstart your success on HubSpot's CMS with a theme by the HubSpot experts at Lynton

 

Katia_A
Participant

delimiter for multiple checkbox properties used as token

SOLVE

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.

0 Upvotes