APIs & Integrations

shivammishra
Participant

{{request_contact}} object is empty on first page load

SOLVE

I am using bunch of contact properties via request_contact object in templates and modules(eg. request_contact.contact.email)  but sometimes it gives empty results on first page load.

 

Scenarios :

1) User first lands on a hubspot page where hubspotutk cookie gets generated then I redirect user to a separate nodeJs application [outside hubspot] where I submit the form with hubspotutk cookie value using form submission API  (https://legacydocs.hubspot.com/docs/methods/forms/submit_form )  and then I am redirecting user to another hubspot page where I am trying to show user's first name which does not happen at first load.

 

2) In another scenario, I update one of the contact's custom property via serveless function which is called in a hubspot page using ajax and then I redirect user to another hubspot page where I am trying to show the value of that custom property but its empy on first load.

0 Upvotes
2 Accepted solutions
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

{{request_contact}} object is empty on first page load

SOLVE

Hi @shivammishra 

I suggested contacting support on this thread.

Let us know how it turns out.

View solution in original post

shivammishra
Solution
Participant

{{request_contact}} object is empty on first page load

SOLVE
2 Replies 2
shivammishra
Solution
Participant

{{request_contact}} object is empty on first page load

SOLVE
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

{{request_contact}} object is empty on first page load

SOLVE

Hi @shivammishra 

I suggested contacting support on this thread.

Let us know how it turns out.