Email Marketing Tool

DLi4
参加者

Passing code in a personalization token

解決

I have a multi-text type field that is storing a different piece of code for each of my contacts. 

That code is essentially HTML that I would like to drop into my emails that would load a different personalized message. 

 

Problem I am running into is that the code doesn't render. I've tried entering in the personalization token into the source code and also tried loading it into an HTML module... neither is leading to the code rendering. Instead, I get a block of code that shows up in my email. 


Is what I'm trying to do feasible? 

0 いいね!
1件の承認済みベストアンサー
karstenkoehler
解決策
殿堂入り | Solutions Partner
殿堂入り | Solutions Partner

Passing code in a personalization token

解決

Hi @DLi4,

 

Instead of a multi-line text property, can you try a property with the type 'Rich text'? I've created emails using HTML personalization tokens and this property type.

 

Best regards

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

元の投稿で解決策を見る

0 いいね!
4件の返信
Zayne
投稿者

Passing code in a personalization token

解決

I'm trying to get this right too, but no combination seems to be working. I've created a Rich text field and added content to it:

Screenshot 2024-06-12 at 18.28.00.png

 

I then created a mail and tried to insert this in both a Rich-text block as well as an HTML block: Screenshot 2024-06-12 at 18.30.16.png

 

However, it always just renders out the html in the preview:

 

Screenshot 2024-06-12 at 18.31.47.png

 

So either I'm doing it wrong or you cannot add html into an email.

 

0 いいね!
Zayne
投稿者

Passing code in a personalization token

解決

It turns out that there is a bug - rich text fields work correctly for all normal HubSpot objects, such as contacts. However, they don't work correctly for custom objects. They output the raw html and there's no way to get them to render the real output!

 

HubSpot please fix!

0 いいね!
karstenkoehler
解決策
殿堂入り | Solutions Partner
殿堂入り | Solutions Partner

Passing code in a personalization token

解決

Hi @DLi4,

 

Instead of a multi-line text property, can you try a property with the type 'Rich text'? I've created emails using HTML personalization tokens and this property type.

 

Best regards

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

0 いいね!
DLi4
参加者

Passing code in a personalization token

解決
You nailed it! This works!

Thank you so much.
0 いいね!