Personalised Tokken in HTML-Element

Hello,

We are using the HTML Email content element in Hubspot Newsletter for a custom widget. This widget contains a personalised link for a landing page. We can add the link information to a custom field in contacts.

Is there any way to get this personalised information within the HTML - Email Content element?

Thanks a lot!

Phillip

Hi, @2id8 :waving_hand: Thanks for reaching out! Hey, @Anton @BarryGrennan @albertsg, do you have any experience here? Thank you for taking a look! — Jaycee

Hi @2id8,

to get it right - You have a personalized link which is set in a property for each contact and you’d like to add it to your mail, right?

If it’s a property you should be able to add it via the “personalize” function in the mail body - if you shouldn’t see the option for some reason you can always write the personalization hubl directly into the html/source-code view of the email body. Personalization tokens look like this

{{ contact.PROPERTYNAME }}

so if your property is “custom landing page” the hubl should look like this

{{ contact.custom_landing_page }}

Just out of curiosity - why do you have personalized links? Wouldn’t it be much easier to personalize just the landing page and use the same URL in the mail?

best,

Anton

Moderator note: While this solution may not address the original poster’s specific situation, it could be helpful for other community members facing similar challenges.

Hello Anton,
unfortunately HUBL code does not work in the HTML content element of Hubspot newsletters. So I’m afraid this is not possible.
For your curiosity, we have a modal window on a wordpress landing page that the user only sees once and is allowed to cast a vote. The personalised link opens the modal window until the vote is cast and then no more.
Thank you very much,
Phillip