Hyperlink using a URL personalisation token

I have created a custom property for a unique customer URL which I'd like to use in emails, directing customers back to their specific log in. While when inserting the personalisation token within an email works - we see the full URL. I'd like to be able to hyperlink some text  (e.g. log in 'here' ) or an image (to act as a CTA).

HubSpot updates
9 Replies
HubSpot Moderator
HubSpot Moderator

Hi ZINEme, 


I just tried in my own portal and was able to add a URL within a property as the URL of a link. Here's an example

<p>Here's your <a href="{{ contact.website }}">personalized link</a>.</p>.


For this example I took the HubSpot default property "Website", hence contact.website ; feel free to adapt it with your own custom property pointing to the specific login of your customers.


Let me know if this works!





New Contributor

Our team is facing the same challenge.    In the past (i.e. with tools like SalesLoft / Yesware), we relied heavily on the ability to create custom urls in the manner mentioned above.    As it stands, much of of messaging looks clumsy with the full hyperlink text in the body (and we're holding off alltogether on many highly effective templates that we used to use) 

Occasional Contributor

I totally agree, the ability to hyperlink a deal property in merketing emails and templates would speed up our workflow. We send design decks as links, which we have to manually hyperlink each time instead of an automated email.

Occasional Contributor

I'd love to have this feature as well!

Occasional Contributor

Totally agree.

We tried to use Personolized links (created by API) in Buttons for Marketing Emails, but it didn't work. We can't insert personalization token into CTA, Buttons & Images (especially useful for discount or code promotions).


Occasional Contributor

I guess in general it would make sense to allow passing properties in any URL

New Contributor

Hi Emmanuel, your solution works. Thank you.


For the group, simply edit the HTML code of the email (Advanced / Show Code) and add the referenced script:
<a href="{{ contact record unique field }}">link text</a>

Occasional Contributor

Our team would love this feature, too.
One of several use cases would be posting links inside the chat
that are based on contact properties.

New Contributor

@Dave_Kennedy I am not an HTML person, so help me, do I just add that specific line of code?


<a href="{{ contact record unique field }}">link text</a>