Pass cookie information to the form
We have a few hubspot forms on our website and are able to pass hidden fields that allows us to tack them in SalesForce.
When we run certain marketing campaigns, we use a cookie with a “campaign ID”. We can pass a Campaign ID from HubSpot using a hidden fields though that limits us to one ID per page/ form when in reality it may be different depending on which campaign the user arrived via. The form lives prominently on the site and is often navigated to - once a form is submitted, it uses the hidden Campaign ID. This doesn’t allow us to see which marketing campaigns actually resulted in the form being filled out.
How do we pass the cookie specific campaign id to a hidden form field?
Thanks in advance!