Tips, Tricks & Best Practices

dmattauch
Contributor

Use custom link in CTA

SOLVE

hi,

 

I have a link property that is different for every contact(they have their own link)

 

I want to send this link in an email. 

 

When inserting a link in hubspot, i have no way of choosing a contact property

Capture d’écran 2022-05-18 à 16.16.37.png

 

the only way i found at the moment is to put the full link in the email.

 

Is there a way to make it a bit cleaner, in a button or with link text?

 

Thanks

David

0 Upvotes
1 Accepted solution
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Use custom link in CTA

SOLVE

Hi @dmattauch,

 

You should be able to use the personalisation token syntax here which goes as follows:

 

{{ contact.internalpropertyname }}

To find the internal property name, navigate to Settings > Properties, look up and open your propert and click the </> sign next to the property name.

 

I answered a similar request here.

 

Hope this helps!

Karsten Köhler
Digital Marketer | HubSpot Freelancer | CRM Consultant

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

9 Replies 9
dmattauch
Contributor

Use custom link in CTA

SOLVE

hey @karstenkoehler that doesn't seem to work :

when i try to put the value in the CTA

Capture d’écran 2022-05-19 à 16.28.29.png

once i save and i come back i have this :

Capture d’écran 2022-05-19 à 16.28.49.png

and the link doesn't work.

Do you know where the issue is coming from?

 

Many thanks

David

0 Upvotes
karstenkoehler
Hall of Famer | Partner
Hall of Famer | Partner

Use custom link in CTA

SOLVE

Hi @dmattauch,

 

The space characters between inside of the curly brackets are important:

 

{{ contact.internalpropertyname }}

 

not: {{contact.internalpropertyname}}

 

I just tested it and that should fix it / work.

 

Best regards!

Karsten Köhler
Digital Marketer | HubSpot Freelancer | CRM Consultant

Beratungstermin mit Karsten vereinbaren


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

0 Upvotes
dmattauch
Contributor

Use custom link in CTA

SOLVE

hi @karstenkoehler ,

 

the issue when i do this is i cannot select "next" or "test URL"

 

Capture d’écran 2022-05-19 à 17.00.00.png

0 Upvotes
karstenkoehler
Hall of Famer | Partner
Hall of Famer | Partner

Use custom link in CTA

SOLVE

Hi @dmattauch,

 

That's because the token isn't resolved into a URL yet. However, if you preview the email for a contact (preview option in the top right of the editor), you can pick a contact and test the button.

 

Best regards

Karsten Köhler
Digital Marketer | HubSpot Freelancer | CRM Consultant

Beratungstermin mit Karsten vereinbaren


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

dmattauch
Contributor

Use custom link in CTA

SOLVE

hey @karstenkoehler 

 

ok so i tested for email and it works. (if i put the link directly)

 

But in the case of a CTA, there's no way for me to even save the CTA that way. 

 

Thanks

David

0 Upvotes
karstenkoehler
Hall of Famer | Partner
Hall of Famer | Partner

Use custom link in CTA

SOLVE

Hi @dmattauch,

 

When I tested this, the URL had to be a full URL including https://, can you confirm that's the case?

 

I tested this on my end:

 

karstenkoehler_0-1652966138892.png

 

 

When I preview the email, it correctly resolves into the website URL stored on the contact record.

 

Which tool are you currently trying this with? The email editor CTA button? Or a CTA from the CTA tool?

 

Best regards

Karsten Köhler
Digital Marketer | HubSpot Freelancer | CRM Consultant

Beratungstermin mit Karsten vereinbaren


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

dmattauch
Contributor

Use custom link in CTA

SOLVE

hey @karstenkoehler ,

 

yes there is the full https://

 

I used the CTA from the CTA tool.

 

Best Regards,

David

0 Upvotes
karstenkoehler
Hall of Famer | Partner
Hall of Famer | Partner

Use custom link in CTA

SOLVE

Hi @dmattauch,

I'm not sure this works with the CTA tool. I have been testing this with the CTA element in the drag and drop editor.

 

Best regards

Karsten Köhler
Digital Marketer | HubSpot Freelancer | CRM Consultant

Beratungstermin mit Karsten vereinbaren


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

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

Use custom link in CTA

SOLVE

Hi @dmattauch,

 

You should be able to use the personalisation token syntax here which goes as follows:

 

{{ contact.internalpropertyname }}

To find the internal property name, navigate to Settings > Properties, look up and open your propert and click the </> sign next to the property name.

 

I answered a similar request here.

 

Hope this helps!

Karsten Köhler
Digital Marketer | HubSpot Freelancer | CRM Consultant

Beratungstermin mit Karsten vereinbaren


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