Marketing Integrations

SAut
Membro

Identify contact from url with querystring coming from email

resolver

Hi all, I've got a Contacts list and I'm going to send to contacts a customized email which requires a user interaction (clicking on a CTA), sending the contact to an Hubspot landing page.

I would like to know how the landing page can identify the specific contact from this url (token? id?)

Thanks in advance!

0 Avaliação positiva
2 Solução aceitas
karstenkoehler
Solução
Membro do Hall da Fama | Parceiro
Membro do Hall da Fama | Parceiro

Identify contact from url with querystring coming from email

resolver

Hi @SAut,

 

Anything that is stored on the contact record, you can pass through a URL via personalization token.

 

https://knowledge.hubspot.com/website-pages/personalize-your-content

 

The internal syntax of a contact personalization token is {{ contact.internal_name_of_property }}

 

You can look up the internal name of a property in the property settings:

 

karstenkoehler_0-1701275360963.png

 

This means that you can pass on contact information dynamically to a landing page like this:

 

www.website.com?id={{ contact.hs_object_id }}

or

www.website.com?firstname={{ contact.firstname }}&lastname={{ contact.lastname }}

 

Let me know if you have any follow-up questions!

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.

Exibir solução no post original

SAut
Solução
Membro

Identify contact from url with querystring coming from email

resolver

Hi Karsten,

 

thanks, the solution was in fact:

 

{{ personalization_token('contact.hs_object_id') }}

Exibir solução no post original

0 Avaliação positiva
6 Respostas 6
karstenkoehler
Membro do Hall da Fama | Parceiro
Membro do Hall da Fama | Parceiro

Identify contact from url with querystring coming from email

resolver

Hi @SAut,

 

Can you please explain what you would like to achieve? There are various ways of approaching this but it depends on what exactly your goal is.

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.

SAut
Membro

Identify contact from url with querystring coming from email

resolver

Thanks @karstenkoehler ,

I will try to explain it with the dumbest example I can think of.

Suppose I've got a contacts list and want to send them an email with a button. The email would be something like:

 

====================================================

Hi John Doe (the name is automatically set for each contact),

click on the button to read something interesting:

 

CALL_TO_ACTION_BUTTON?id=john_doe_contact_id

====================================================

 

The contact clicks on the link, which points to an Hubspot landing page. On the landing page, the recipient reads:

 

====================================================

Hi, John Doe, this is the interesting thing etc....

====================================================

 

What I would like to achieve, is creating an dynamic email which contains a link with a piece of information (a token, an ID) suited to be read by the landing page so that the landing page can retrieve the full contact information and fill, for example, a placeholder or autocomplete a form field.

Thanks!

 

0 Avaliação positiva
karstenkoehler
Solução
Membro do Hall da Fama | Parceiro
Membro do Hall da Fama | Parceiro

Identify contact from url with querystring coming from email

resolver

Hi @SAut,

 

Anything that is stored on the contact record, you can pass through a URL via personalization token.

 

https://knowledge.hubspot.com/website-pages/personalize-your-content

 

The internal syntax of a contact personalization token is {{ contact.internal_name_of_property }}

 

You can look up the internal name of a property in the property settings:

 

karstenkoehler_0-1701275360963.png

 

This means that you can pass on contact information dynamically to a landing page like this:

 

www.website.com?id={{ contact.hs_object_id }}

or

www.website.com?firstname={{ contact.firstname }}&lastname={{ contact.lastname }}

 

Let me know if you have any follow-up questions!

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.

SAut
Solução
Membro

Identify contact from url with querystring coming from email

resolver

Hi Karsten,

 

thanks, the solution was in fact:

 

{{ personalization_token('contact.hs_object_id') }}

0 Avaliação positiva
karstenkoehler
Membro do Hall da Fama | Parceiro
Membro do Hall da Fama | Parceiro

Identify contact from url with querystring coming from email

resolver

Hi @SAut,

 

Virtually the same thing as the one I had proposed earlier, glad it's working 🙂

 

Please make sure to accept my earlier replies as solutions if they helped you in getting this to work.

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.

0 Avaliação positiva
SAut
Membro

Identify contact from url with querystring coming from email

resolver

Thanks Karsten,

it's ok for the link creation. But if I wanted to pass the ID only

 

www.website.com?id={{ contact.hs_object_id }}

 

without passing other informations inside the url, how can the landing page retrieve the contact info?

0 Avaliação positiva