Nov 12, 2019 1:23 PM
I'm creating an email template. Can anyone tell me how to pass a parameter to the URL of a button? For example, I have a button labelled "Send Sample". I need to know at least the name, or email address of the person making the request so I can look up their address, etc. in order to send the sample.
I'm hoping that the [email address] or some other parameter can be sent to the URL so the server can capture that information.
Does anyone know how this can be done? Thanks in Advance!!
Solved! Go to Solution.
Nov 12, 2019 2:41 PM
If your 'button' is a HubSpot CTA it's not eligible for use with personalization tokens -- see this thread.
That being said, you may build an image button (non-CTA) and link to it manually using a personalization token (see same thread).
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 10, 2021 12:58 AM
Hi All,
This can be done. A workaround is as follows
Nov 12, 2019 2:41 PM
If your 'button' is a HubSpot CTA it's not eligible for use with personalization tokens -- see this thread.
That being said, you may build an image button (non-CTA) and link to it manually using a personalization token (see same thread).
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 12, 2019 4:49 PM
Thank you.
Where can you get a list of all of the tokens?
Nov 12, 2019 4:57 PM
Not aware of a 'list' of personalization tokens. However, most default and custom properties are available for use as personalization tokens per the following article.
- see Personalize your HubSpot content
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 12, 2019 5:03 PM
We're getting close. I guess what I'm asking is what is the syntax of the property?
In the example we have {{contact.email}}. But what if I create a custom property like "my custom property" with spaces. What is the syntax of the token:
1. {{contact.my custom property}}
2. {{contact.mycustomproperty}}
3. {{contact.my_custom_property}}
4. ??
Thanks!!
Nov 12, 2019 5:31 PM - edited Nov 12, 2019 5:32 PM
You'll need to use what's known as the 'internal value' for the property. These are highly specific to each property, as the ability to edit these internal values within HubSpot has evolved over time and is now totally prohibited.
That being said, the general syntax replaces spaces and most other special characters with the underscore character ('_') -- as shown in your example #3.
Best way to be certain what the internal value for any given property is is to view the property within the HubSpot UI. Once in the property definition dialog you'll want to click on the '</>' symbol to reveal the internal value.
- see image
HubSpot Properties Internal Values
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