We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
May 18, 2022 8:18 AM
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
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
Solved! Go to Solution.
May 18, 2022 8:26 AM - edited May 18, 2022 8:28 AM
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 |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |
May 19, 2022 8:33 AM
hey @karstenkoehler that doesn't seem to work :
when i try to put the value in the CTA
:
once i save and i come back i have this :
and the link doesn't work.
Do you know where the issue is coming from?
Many thanks
David
May 19, 2022 8:37 AM
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 |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |
May 19, 2022 9:01 AM
May 19, 2022 9:02 AM
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 |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |
May 19, 2022 9:12 AM
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
May 19, 2022 9:15 AM
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:
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 |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |
May 19, 2022 9:49 AM
hey @karstenkoehler ,
yes there is the full https://
I used the CTA from the CTA tool.
Best Regards,
David
May 19, 2022 9:51 AM
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 |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |
May 18, 2022 8:26 AM - edited May 18, 2022 8:28 AM
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 |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |