Tracking activity prior to API Form submission

Highlighted
New Contributor

We are running ads to our website and would like to track all subsequent lead form submissions, as attributed to either Facebook or Google ads. Our current forms are set up through the Hubspot API. Unlike in Hubspot native forms, once a contact submits their information through the form, we can't see what ad they previously interacted with.

 

Is there a way to get a contact's prior activity when using Hubspot's API for form submissions?

1 Reply 1
Highlighted
HubSpot Moderator

Hi @ErynFeeney,

 

I hope all is well with you 😄

 

When looking to track ads conversion via a HubSpot form submissions, either using the native HubSpot forms or HubSpot forms API, we'll look at the page URL of when the form submission is made. 

 

In this case, when using the HubSpot Form API, you would need to pass the page URL parameters and ensure that the HubSpot tracking cookie (hutk) is included. 

 

Hope this helps to clarify!

Reply
0 Upvotes