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
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!
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
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!
hi @karstenkoehler ,
the issue when i do this is i cannot select “next” or “test URL”
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
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
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
hey @karstenkoehler ,
yes there is the full https://
I used the CTA from the CTA tool.
Best Regards,
David
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