APIs & Integrations

TGupta5
Member

Using HTML code in personalization token to render HTML with dynamic content in an email template

I am using Hubspot contact property as personalize token to render ink in email template. But the problem is it is not rendering as HTML, it is simply rendering as code.

For example :

If property contains data such as :
<a href="https://www.google.com">Google</a>

Then if i check in preview section of email template, i got result as :
<a href="https://www.google.com">Google</a>

simply as a code, but my desired result is something like this :
Google

0 Upvotes
2 Replies 2
Mike_Eastwood
Key Advisor | Gold Partner
Key Advisor | Gold Partner

Using HTML code in personalization token to render HTML with dynamic content in an email template

Hi @TGupta5 

 

We found the easiest way to solve this callenge is to create a Custom Module.

 

You can include the HTML and the Property Tokens in the Module.

 

Then, when you drag and drop the Module into an email, or page, the HTML render properly.

 

Have fun

Mike

 

 

 

0 Upvotes
TGupta5
Member

Using HTML code in personalization token to render HTML with dynamic content in an email template

Hi Mike_Eastwood,

Thank you for your response. Since I have limited knowledge, could you please provide me with step-by-step instructions on how to apply the solution? I am currently referring to the "Custom Module" documentation you shared, but I am unsure about what type of field I need to add based on my specific requirements.

0 Upvotes