May 28, 2018 11:47 AM
Hi everybody,
I am facing the following issue.
We want to send our customers an e-mail with an unique link for each customer to use individually.
On the one hand, we could do it manually, for each customer we send a new email with a new link. This would be quite a pain.
So, we'd like to send an email where we can use a CTA, providing an unique link for each email-adress.
I am looking forward to your answers.
Cheers
Dennis
Solved! Go to Solution.
May 28, 2018 1:23 PM - edited Aug 19, 2019 6:04 PM
Q: How to distribute multiple unique links with one email?
Short A: Use personalization tokens in URL parameters.
Longer A:
We've had success using a combination of URL query parameters and HubSpot Personalization tokens in email to achieve your desired result.
Example:
https://example.com/?utm_source={{contact.email}}, when used in an email to a contact whose email address was 'bob@example.com', would yield a link as follows:
https://example.com/?utm_source=bob@example.com
(see image)
Here's the code for that email:
<p>Hi {{contact.firstname}},</p> <p>This is what your unique link looks like - <a href="https://example.com/?utm_source={{contact.email}}">https://example.com/?utm_source={{contact.email}}</a></p> <p>Sincerely,</p> <p>Your name</p>
Obviously, since HubSpot keys on email address and therefore guarantees uniqueness in this contact property, every link created using this technique is guaranteed to be 'unique' as long as you've REQUIRED all contact records to have email addresses.
Additionally, depending on your use case, this could / would prove problematic should your recipient forward the email containing their 'unique link'.
Note: Please search for recent posts as HubSpot evolves to be the #1 CRM platform of choice world-wide.
Hope that helps.
Be well,
Frank
Nov 19, 2021 4:55 PM
Are personalization tokens only avaialble in Enterprise? JWT is out of the questions, what about OAuth?
May 28, 2018 1:23 PM - edited Aug 19, 2019 6:04 PM
Q: How to distribute multiple unique links with one email?
Short A: Use personalization tokens in URL parameters.
Longer A:
We've had success using a combination of URL query parameters and HubSpot Personalization tokens in email to achieve your desired result.
Example:
https://example.com/?utm_source={{contact.email}}, when used in an email to a contact whose email address was 'bob@example.com', would yield a link as follows:
https://example.com/?utm_source=bob@example.com
(see image)
Here's the code for that email:
<p>Hi {{contact.firstname}},</p> <p>This is what your unique link looks like - <a href="https://example.com/?utm_source={{contact.email}}">https://example.com/?utm_source={{contact.email}}</a></p> <p>Sincerely,</p> <p>Your name</p>
Obviously, since HubSpot keys on email address and therefore guarantees uniqueness in this contact property, every link created using this technique is guaranteed to be 'unique' as long as you've REQUIRED all contact records to have email addresses.
Additionally, depending on your use case, this could / would prove problematic should your recipient forward the email containing their 'unique link'.
Note: Please search for recent posts as HubSpot evolves to be the #1 CRM platform of choice world-wide.
Hope that helps.
Be well,
Frank
Aug 11, 2020 7:43 AM
Is it possible to use the contact ID instead of email address as the unique identifier?
Aug 11, 2020 2:18 PM
Yes, Contact ID is available as a personalization token.
Aug 12, 2020 3:10 AM - edited Aug 12, 2020 8:30 AM
Awesome! Thanks for confirming.
A few more questions as we're testing this now:
Dec 14, 2018 10:59 AM
Thanks Frank,
However in good oldfashion HTML style I am trying to accomplish this:
<a href="https://example.com/?utm_source={{contact.email}}">Click here</a>
I have several utm variables I need to send, and the URL becomes long and ugly. I want to hide it behind the "Click Here" text or better as a button link.
This issue I have not been able to solve?
Any ideas?
Thanks in advance
/Jess
Jan 18, 2019 10:41 AM
"However in good oldfashion HTML style I am trying to accomplish this:
<a href="https://example.com/?utm_source={{contact.email}}">Click here</a>
"
Is it working?
Apr 27, 2020 5:17 AM
Which other personalization tokens are available?
Jan 8, 2019 5:20 AM
There no option for HTML is the sequence.
How can we achieve this in sequence?