Email Marketing Tool

adeyab
Participant

Emails: Inserting Personalized Token that is a hyperlink not just plain text

SOLVE

Hi team,

 

I've imported a list with columns including email and a second with respective "unique referral link". I'm trying to send a mass email with a unique referral link for each respective email. I have tried couple things; the column which the link is under initially had the property of single text then I changed it to "rich text" after speaking to hubspot sales. In both cases (single text vs rich text) the email includes the unique referral link from the column which is perfect, however it's not a hyperlink - it's plain text, any ideas how I could fix that so the referral link is a hyperlink?
 
Best,
AD
2 Accepted solutions
jolle
Solution
Recognized Expert | Partner
Recognized Expert | Partner

Emails: Inserting Personalized Token that is a hyperlink not just plain text

SOLVE

@adeyab glad to hear it was helpful!

 

I'm not sure if it is possible to have a contact property populate as a personalization token and have it linked to the address stored in the property. Maybe there's a custom-developed workaround, but that's outside of my wheelhouse.

 

Does the email recipient need to be able to click on the link, or this is specifically for sharing purposes? If the goal is just getting them to copy and share the link, I feel like you'd be in good shape just populating the URL without linking to anything.

 

If the goal is getting them to view the referral URL and then copy and share it, maybe you could include the clickable button for visiting the page and then separately pull in the unlinked URL with supporting copy. Maybe something like:

 

"Check out your unique referral page below:

 

[Get Your Referral Page button]

 

To share your referral link with others, just copy your link below and email/text/post it as desired:

 

{referral URL property value}"

 

I know that's clunky, but it could work if it's positioned the right way! 

Jacob Olle

Marketing Operations Manager

HubSpot Certified Trainer

Create Your Own Free Signature

View solution in original post

karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Emails: Inserting Personalized Token that is a hyperlink not just plain text

SOLVE

Hi @adeyab,

 

Just to confirm, you would like the link to be spelled out and hyperlinked, like this?

 


Your unique referral link: www.acme.com/referral-a1b2c3

If so, complete the following steps:

  1. Add your personalization token as you always would with any other, too.
    karstenkoehler_0-1684470412048.png

     

  2. Once added, click More > Source code
    karstenkoehler_1-1684470437712.png
  3. Find the line with the personalization token:
    karstenkoehler_2-1684470458922.png
  4. Adjust it so it looks like this below, as per this HTML documentation: https://www.w3schools.com/html/html_links.asp

    <p>Here's your unique referral link: <a href="{{ contact.referral_link }}">{{ contact.referral_link }}</a></p>

Of course, your property will have a different name and different internal label, so make sure to adjust accordingly.

 

Let me know if you have any follow-up questions and always test this with a sample contact before unleashing it onto actual contacts.

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

View solution in original post

6 Replies 6
adeyab
Participant

Emails: Inserting Personalized Token that is a hyperlink not just plain text

SOLVE

Thanks so much Jacob! That might have to do for now 🙂

0 Upvotes
jolle
Recognized Expert | Partner
Recognized Expert | Partner

Emails: Inserting Personalized Token that is a hyperlink not just plain text

SOLVE

Hey @adeyab, thanks for reaching out! This is a great question.

 

I haven't personally used the linked text option before, but I know how to use a personalization token containing a URL within a HubSpot button! All you need to is grab the internal name of the contact property and then put it in double curly brackets within the "Link URL" field in the button module.

 

When looking at a contact property within the property editor, click the code code icon to set or view the internal name for the property (more info in this HubSpot Knowledge Base article just in case). Once you have that internal name, you can head to your email, add a button module, and add it to the link field. It'll look something like:

 

Screen Shot 2023-05-18 at 2.15.23 PM.png

 

That tells HubSpot to take your contact property value and use it as the URL. If you then preview the email as a contact that you know has a URL value, it should take you to that destination.

 

I'm currently running this for a client and haven't run into any issues, so hopefully it helps you!!

Jacob Olle

Marketing Operations Manager

HubSpot Certified Trainer

Create Your Own Free Signature
adeyab
Participant

Emails: Inserting Personalized Token that is a hyperlink not just plain text

SOLVE

Thank you for the swift reply Jacob! This looks awesome, I updated it to work as a button and this will be amazing for another usecase I have in mind.

 

However, I would like users to share the link to refer others, so I would love for the link to be a hyperlink on the email rather than a button since it would require more steps for the user e.g. clicking the button, copying the URL from browser, sending to others VS copying the link from email and sharing with others straight away - any ideas welcome 🙂 

 

Best,

AD

karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Emails: Inserting Personalized Token that is a hyperlink not just plain text

SOLVE

Hi @adeyab,

 

Just to confirm, you would like the link to be spelled out and hyperlinked, like this?

 


Your unique referral link: www.acme.com/referral-a1b2c3

If so, complete the following steps:

  1. Add your personalization token as you always would with any other, too.
    karstenkoehler_0-1684470412048.png

     

  2. Once added, click More > Source code
    karstenkoehler_1-1684470437712.png
  3. Find the line with the personalization token:
    karstenkoehler_2-1684470458922.png
  4. Adjust it so it looks like this below, as per this HTML documentation: https://www.w3schools.com/html/html_links.asp

    <p>Here's your unique referral link: <a href="{{ contact.referral_link }}">{{ contact.referral_link }}</a></p>

Of course, your property will have a different name and different internal label, so make sure to adjust accordingly.

 

Let me know if you have any follow-up questions and always test this with a sample contact before unleashing it onto actual contacts.

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

jolle
Recognized Expert | Partner
Recognized Expert | Partner

Emails: Inserting Personalized Token that is a hyperlink not just plain text

SOLVE

This is awesome! Definitely noting this for the future. Thanks for teaching me something new, Karsten!!

Jacob Olle

Marketing Operations Manager

HubSpot Certified Trainer

Create Your Own Free Signature
jolle
Solution
Recognized Expert | Partner
Recognized Expert | Partner

Emails: Inserting Personalized Token that is a hyperlink not just plain text

SOLVE

@adeyab glad to hear it was helpful!

 

I'm not sure if it is possible to have a contact property populate as a personalization token and have it linked to the address stored in the property. Maybe there's a custom-developed workaround, but that's outside of my wheelhouse.

 

Does the email recipient need to be able to click on the link, or this is specifically for sharing purposes? If the goal is just getting them to copy and share the link, I feel like you'd be in good shape just populating the URL without linking to anything.

 

If the goal is getting them to view the referral URL and then copy and share it, maybe you could include the clickable button for visiting the page and then separately pull in the unlinked URL with supporting copy. Maybe something like:

 

"Check out your unique referral page below:

 

[Get Your Referral Page button]

 

To share your referral link with others, just copy your link below and email/text/post it as desired:

 

{referral URL property value}"

 

I know that's clunky, but it could work if it's positioned the right way! 

Jacob Olle

Marketing Operations Manager

HubSpot Certified Trainer

Create Your Own Free Signature