Commerce Tools

DMoore102
Mitglied

How to Pass Contact Email to Custom (external) Product Link Thank You Page

lösung

Hello,

 

We need to access the customer email address on the thank you page for product links.  The thank you page is hosted on our own WordPress website.  How do we go about passing the email to the thank you page URL?

 

Thank you,

Drake

0 Upvotes
1 Akzeptierte Lösung
Josh
Lösung
Trendsetter/-in | Diamond Partner
Trendsetter/-in | Diamond Partner

How to Pass Contact Email to Custom (external) Product Link Thank You Page

lösung

Hi @DMoore102,

 

The payment link functionality is a bit different than the standard form functionality, so I don't believe that it's possible. You would need to pass a dynamic value on a query string for the redirected thank you page. 

If you want to try it on your payment form, here are the steps on how you'd do it on a standard form:

  1. When setting your thank you page, choose redirect to an external URL
  2. Add something like this to your redirected URL: https://YOURDOMAIN.com/your-thankyou-page/?email={{contact.email}}

If it happens to work...awesome, but last I knew you still couldn't pass values through the redirected URL in that manner. Please report back!

 

 

 


Did this post help solve your problem? If so, please mark it as a solution.

Josh Curcio

HubSpot support and inbound marketing for OEMs, contract manufacturers, and industrial suppliers.
HubSpot Diamond Partner & HubSpot Certified Trainer

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
1 Antwort
Josh
Lösung
Trendsetter/-in | Diamond Partner
Trendsetter/-in | Diamond Partner

How to Pass Contact Email to Custom (external) Product Link Thank You Page

lösung

Hi @DMoore102,

 

The payment link functionality is a bit different than the standard form functionality, so I don't believe that it's possible. You would need to pass a dynamic value on a query string for the redirected thank you page. 

If you want to try it on your payment form, here are the steps on how you'd do it on a standard form:

  1. When setting your thank you page, choose redirect to an external URL
  2. Add something like this to your redirected URL: https://YOURDOMAIN.com/your-thankyou-page/?email={{contact.email}}

If it happens to work...awesome, but last I knew you still couldn't pass values through the redirected URL in that manner. Please report back!

 

 

 


Did this post help solve your problem? If so, please mark it as a solution.

Josh Curcio

HubSpot support and inbound marketing for OEMs, contract manufacturers, and industrial suppliers.
HubSpot Diamond Partner & HubSpot Certified Trainer

0 Upvotes