APIs & Integrations

JosephWa
Participante

double opt-in redirect with params

resolver

Hello,

Not sure if this is the correct channel for this question, please excuse me if it is not.

 

I want to enable double opt-in and when the user clicks the confirmation link, I want to redirect to my site with his email property in the query string, or some way to identify the user on my site form. the form needs to submit some details to my site taken from Hubspot. So it is not a HubSpot form.

 

Any idea how to achieve this, or direct me to a better channel for this question?

0 Avaliação positiva
2 Solução aceitas
WendyGoh
Solução
HubSpot Employee
HubSpot Employee

double opt-in redirect with params

resolver

Hi @JosephWa,

 

You can add the email property in the subscription confirmation url by doing something like this:

 

<p><a href="{{ subscription_confirmation_url }}" rel=" noopener">{{ subscription_confirmation_url }}?email={{ contact.email }}</a></p> 

 

Adding the contact email personalize token as a query string.

Exibir solução no post original

JosephWa
Solução
Participante

double opt-in redirect with params

resolver

hi,

Thank you for the idea. it actually needs to be in the href attribute  and not in the name to work :

<p><a href="{{ subscription_confirmation_url }}?email={{ contact.email }}" rel=" noopener"> Confirm </a></p> 

I have tested and it is working great.

 

Exibir solução no post original

2 Respostas 2
WendyGoh
Solução
HubSpot Employee
HubSpot Employee

double opt-in redirect with params

resolver

Hi @JosephWa,

 

You can add the email property in the subscription confirmation url by doing something like this:

 

<p><a href="{{ subscription_confirmation_url }}" rel=" noopener">{{ subscription_confirmation_url }}?email={{ contact.email }}</a></p> 

 

Adding the contact email personalize token as a query string.

JosephWa
Solução
Participante

double opt-in redirect with params

resolver

hi,

Thank you for the idea. it actually needs to be in the href attribute  and not in the name to work :

<p><a href="{{ subscription_confirmation_url }}?email={{ contact.email }}" rel=" noopener"> Confirm </a></p> 

I have tested and it is working great.