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?
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.