Hi there,
We are sending out a survey to about 15K recipients. Each recipient has their own survey link. I have had some trouble figuring out how to get this to work in personalization. I played around with different properties but could not get anything to hyperlink, so the recipient would have to copy and paste the link. Any ideas?
Hi @BrettGorges,
This can be achieved via the source code editor:
If you don’t want to write a line of code, simply add a hyperlink for www.google.com first, like in my screenshot. Then click the source code icon.
You can now replace the two mentions of Google with the syntax for a personalization token:
Use a personalization token in the form {{ contact.survey_link }}, replacing contact and survey_link with your own object and the property’s internal name.
After you save, HubSpot will replace the token with each contact’s URL when the email is sent.
Best regards!
I think this worked! It’s not hyperlinking in the email preview but it does when I send myself an email test as a contact. Is that okay?
@BrettGorges the preview would only work if you preview the email for a specific contact that has a value for that property - so yes, if you go to the default preview, it’s expected behavior that it doesn’t work 