Skip to main content

Hi,

 

I’m trying to add a personalized HTML snippet to my email template for every customer.

I collect external data, create a new profile through Zapier, assign an HTML code snippet as a custom property to the profile and I then want to add that HTML code to an email, but every time I try to do that, the HTML code only shows up as plain text and isn’t recognized as HTML.

This is how the email looks for the customer. The code is showing up as plain text

Could you help me out with this?

Thanks!

Hello @FelixPreis 

Try doing this

{{ ATTRIBUTE | escape}}


Thanks @Maxbuzz, this sounds exactly like what I am looking for. How exactly would I apply this?

Should I simply put it like this:

{{ ATTRIBUTE | escape}} {{ person|lookup:'html-content' }}

Thanks for your help 🙏


Hi @FelixPreis 

Can you expand on what you’re trying to achieve here?

From your example, it looks like you just want to insert ‘Felix - Klaviyo Team’, so I’m wondering why you want to add an HTML snippet to a custom property.

Regards

Andy


Hi there @FelixPreis

 

Would you mind sharing more context to this so that @bluesnapper and I can help you find your solution? 

 

-Taylor 


Reply