Hello all,
I am trying to post a simple email address to a hubspot form. Everything goes fine except for the Conversion page, that shows ‘Unavailable’. I am sending the data from a custom page, so it isn’t a landing page but that shouldn’t be the problem based on other forum posts. The request returns a 204, so the form submission is correct but the Conversion page is ‘Unavailable’. Anyone has an idea how to fix this?
Cheers,
Nevermind, I found it. I forgot the ‘=’ when I include the hs_context in the final string. Now I had to copy it to this forum I see it . Don’t know why I didn’t found this earlier. Thanks for your help anyway
After I encoded the hs_context to a json string, I include it in the form data to submit:
$str_post = “email=” . urlencode($_POST[‘email’]) . ‘&hs_context’ . urlencode($hs_context_json);
Then I send this string to the hubspot form, but the conversion page is not available.
I’m not seeing any pageUrl parameters (or any parameters, for that matter) in the metadata of that form’s submissions. Is the hs_context parameter being properly encoded and included in the final form submission?