# Personalized token in CTA or Button

**URL:** <https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278>\
**Category:** Email Marketing Tool\
**Tags:** professional\
**Created:** [July 5, 2021, 7:31pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278 "2021-07-05T19:31:07Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![cassjoachim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cassjoachim/32/78471_2.png) [@cassjoachim](https://community.hubspot.com/u/cassjoachim)\
**Post date:** [July 5, 2021, 7:31pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/1 "2021-07-05T19:31:07Z")

</div>

Hello,

I would like to add a Personalized token to a Call to Action within an automated email template. Each contact has a unique link so we’ve added this link as a property field in their Conversion record.

Hubspot doesn’t seem to allow a personalization token to be added to a button or change the way the personalization token is displayed in the email. How can we make this look better?

 ![Cannot add token to CTA.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/2/2d0058a2b63179f7758adf11cd7cc537ff9e7444.png)

---

<div class="post-metadata">

**Author:** ![bsheen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bsheen/32/71352_2.png) [@bsheen](https://community.hubspot.com/u/bsheen)\
**Post date:** [July 5, 2021, 10:20pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/2 "2021-07-05T22:20:28Z")

</div>

Hi @cassjoachim,  
Thanks for reaching out!

At this time, it is not possible to add personalization tokens to CTAs. This is due to the way CTAs are constructed and added to marketing emails. As you’ve discovered, you can add personalization tokens into links in your email, which is what I would recommend here. You could modify the link text to something more natural for this personalized URL. Then, you can track specific link clicks through the email’s performance tab. -see [Analyze your marketing email campaign performance.](https://knowledge.hubspot.com/email/analyze-your-marketing-email-campaign-performance#performance)

I would also encourage you to add your use case and an upvote to this [HubSpot Idea](https://community.hubspot.com/t5/HubSpot-Ideas/Allow-Personalization-Tokens-to-be-Used-as-URLS-in-CTAs/idi-p/9654) to further bring it to our product team’s attention.

Best,

Brendan

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [July 6, 2021, 4:14am UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/3 "2021-07-06T04:14:43Z")

</div>

Hi @cassjoachim,

As @bsheen already pointed out, this is not possible at this stage and I’d also recommend [upvoting the idea](https://community.hubspot.com/t5/HubSpot-Ideas/Allow-Personalization-Tokens-to-be-Used-as-URLS-in-CTAs/idi-p/9654).

I wanted to highlight that you can work around the limitation by mimicking a HubSpot CTA. You would simply create a PNG file that looks like a CTA. You can then add the personalization token to the image URL.

I’ve recorded my screen for an example. First, I’m getting the _First name_ personalization token from the raw HTML, then I add it to a Google search link.

![cta-link.gif](https://d2qpr2jzcazej7.cloudfront.net/original/2X/4/4c345b939a740b43384fee9239ccde4135e64cd9.gif)

If you’ve found this workaround helpful, let me know!

---

<div class="post-metadata">

**Author:** ![EBrady0](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ebrady0/32/7280_2.png) [@EBrady0](https://community.hubspot.com/u/EBrady0)\
**Post date:** [August 25, 2021, 8:03pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/4 "2021-08-25T20:03:43Z")

</div>

This is almost exactly what i need! I’m working on an email and have created the button image and found my personalization token code. However, I need the link to open in the user’s default web browser, rather than a google serp. Do you have advice or what I can use instead of “[Google](https://www.google.com/search?q=)” to serve my purpose?

Thank you!

Erin

---

<div class="post-metadata">

**Author:** ![CDupuis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cdupuis/32/21071_2.png) [@CDupuis](https://community.hubspot.com/u/CDupuis)\
**Post date:** [December 29, 2022, 8:28pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/5 "2022-12-29T20:28:08Z")

</div>

Hi @EBrady0! Did you ever find a solution for how to utilize this functionality without having the link direct to google search? I’m currently trying to solve for the same problem.

Thank you!!

Casey

---

<div class="post-metadata">

**Author:** ![CDupuis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cdupuis/32/21071_2.png) [@CDupuis](https://community.hubspot.com/u/CDupuis)\
**Post date:** [December 29, 2022, 8:30pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/6 "2022-12-29T20:30:03Z")

</div>

Hi @karstenkoehler, is there a way to utilize this workaround without having the link direct to a google search of the token value?

Thanks!

---

<div class="post-metadata">

**Author:** ![tgupta11](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@tgupta11](https://community.hubspot.com/u/tgupta11)\
**Post date:** [October 17, 2023, 10:03pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/7 "2023-10-17T22:03:44Z")

</div>

Hi @karstenkoehler is there a way to utilize this workaround without having the link direct to a google search of the token value? I would like the link to open in the user’s default web browser, rather than a google serp.

---

<div class="post-metadata">

**Author:** ![TRuiz7](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@TRuiz7](https://community.hubspot.com/u/TRuiz7)\
**Post date:** [March 25, 2024, 10:58pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/8 "2024-03-25T22:58:18Z")

</div>

This was an awesome work around!!! Thank you so much for posting this!

---

<div class="post-metadata">

**Author:** ![bbaggerman](https://avatars.discourse-cdn.com/v4/letter/b/eb9ed0/32.png) [@bbaggerman](https://community.hubspot.com/u/bbaggerman)\
**Post date:** [June 20, 2024, 8:16pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/9 "2024-06-20T20:16:48Z")

</div>

Hoping someome may be able to advise on how to do this if I need to apply the token within the URL and not at the end?  
For example: [https://website.com/installs/TOKEN/performance](https://website.com/installs/TOKEN/performance)

---

<div class="post-metadata">

**Author:** ![SArora1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sarora1/32/38459_2.png) [@SArora1](https://community.hubspot.com/u/SArora1)\
**Post date:** [July 6, 2021, 10:02am UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/10 "2021-07-06T10:02:55Z")

</div>

Hi @cassjoachim ,

\<p\>Here’s your \<a href=“{{ contact.website }}”\>personalized link\</a\>.\</p\>.

We can use the above code as a workaround along with some CSS styling to make your Hyperlink display as a CTA .

Thanks

Swayam

Grazitti Interactive

---

<div class="post-metadata">

**Author:** ![APIANT1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/apiant1/32/228609_2.png) [@APIANT1](https://community.hubspot.com/u/APIANT1)\
**Post date:** [October 7, 2022, 1:38pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/11 "2022-10-07T13:38:43Z")

</div>

This works for me in a link in a chat bot Send message action. Maybe this is new and now it works in emails as well?

 ![APIANT1_0-1665149916803.jpeg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/0/d/0dc9789ec8cdc253cbe0a1c68aa2eaba78626519.jpeg)

---

<div class="post-metadata">

**Author:** ![APIANT1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/apiant1/32/228609_2.png) [@APIANT1](https://community.hubspot.com/u/APIANT1)\
**Post date:** [October 7, 2022, 1:56pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/12 "2022-10-07T13:56:04Z")

</div>

It also works in snippets.

---

<div class="post-metadata">

**Author:** ![APIANT1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/apiant1/32/228609_2.png) [@APIANT1](https://community.hubspot.com/u/APIANT1)\
**Post date:** [October 7, 2022, 2:20pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/13 "2022-10-07T14:20:48Z")

</div>

And it also works in an auto email sequence. Just use this format in the link {{contact.email}}

---

<div class="post-metadata">

**Author:** ![matheus\_jiran](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matheus_jiran/32/222_2.png) [@matheus\_jiran](https://community.hubspot.com/u/matheus_jiran)\
**Post date:** [July 5, 2024, 5:30pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/14 "2024-07-05T17:30:04Z")

</div>

When sending Marketing Email through Workflows, this worked for me:  
I just added the line below to the URL box. For Contact properties it may work simpler as “contact.firstname”, but for other objects it requires the HTML personalization token invoke.  
{{ personalization\_token(‘object.property’, ‘’) }}  
Note: if you are using Ticket tokens, the workflow that sends the email must be a Ticket workflow. You won’t be able to add the template to the workflow if it contains personalization tokens for different objects.

---

<div class="post-metadata">

**Author:** ![NDLaRue](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@NDLaRue](https://community.hubspot.com/u/NDLaRue)\
**Post date:** [August 21, 2024, 4:17pm UTC](https://community.hubspot.com/t/personalized-token-in-cta-or-button/40278/15 "2024-08-21T16:17:01Z")

</div>

I had a similar issue where I needed to generate a unique ID at the end of a URL for each person that downloaded a hosted asset. Not sure if there’s an easier way, but when they fill out the form I have a workflow that first assigns the URL plus ?token to a custom field on the contact record and then I reference that custom field in the email that delivers the asset within an HTML button (since it can’t be applied to CTA). Each user clicking the asset now has it’s own personal link and I’m not using an image as the CTA since those can be blocked.
