# Hyperlink using a URL personalisation token

**URL:** <https://community.hubspot.com/t/hyperlink-using-a-url-personalisation-token/13092>\
**Category:** HubSpot Ideas\
**Tags:** marketing-email\
**Created:** [February 19, 2019, 3:48pm UTC](https://community.hubspot.com/t/hyperlink-using-a-url-personalisation-token/13092 "2019-02-19T15:48:00Z")\
**Posts on this page:** 1\
**Showing post:** 57

<div class="post-metadata">

**Author:** ![FMarlow](https://avatars.discourse-cdn.com/v4/letter/f/f08c70/32.png) [@FMarlow](https://community.hubspot.com/u/FMarlow)\
**Post date:** [February 29, 2024, 4:21am UTC](https://community.hubspot.com/t/hyperlink-using-a-url-personalisation-token/13092/57 "2024-02-29T04:21:09Z")

</div>

Hello everybody. Having spent a couple of hours troubleshooting this for my set-up, I thought I would provide a digest here for newcomers.

The ability to insert a personalized URL into an email seems like a basic requirement for a marketing automation system.

While not officially supported by HubSpot (not that I could find in the documentation or the support exchanges), it seems fairly straightforward to do.

Say you have a personalization token set up in HubSpot that contains the account\_id and it is attached to the ‘contact’ object type.

So, in an email, you create a button, and add your personalized URL code to the “Link URL” field of the button as follows:

[https://OurSaaSapp.com/](https://OurSaaSapp.com/) **{{ contact.account\_id }}** /getting-started

Note the spaces in the “{{ contact.account\_id }}” string.

You could add additional UTM parameters as:

[https://OurSaaSapp.com/](https://OurSaaSapp.com/){{ contact.account\_id }}/getting-started\*\*?utm1=abc&utm2=xyz\*\*

Note: I am on a “Marketing Hub Enterprise” account (Paid plan) and working in the Sandbox.

Other solutions mentioned above such as @CapnKorb 's solution work great if you have the entire URL contained in a single token, or if you need to handle cases where the field value may be missing.

---

_[View the full topic](https://community.hubspot.com/t/hyperlink-using-a-url-personalisation-token/13092)._
