I’ve setup an API form submission on a HubSpot hosted landing page, basically so the user can submit their details and carry on using the tool we’ve built whilst their submission is made in the background.
This all works fine, except despite the submission coming from a HubSpot page I can’t get it to record the ‘Conversion Page’ under the form submissions, and so when you view the landing page details, it looks like it’s had no submissions.
That of course stands to reason as you’re not submitting via the actual form associated with the page, however in the past I managed to get round this by having an instance of the same form on the page just in a hidden container, and then also passing over the ‘pageId’ variable within the hs_context. This doesn’t seem to work anymore.
I’ve lifted everything from the hs_context input that appears on the page, parsed it to an array and passed all that across at the same time in an attempt to replicate the submission that would have been made by the actual form hidden on the page (which if I unhide and submit does record the right conversion page!) but to no avail.
Any help greatly appreciated.