Asked by Bhawesh Agarwal on Nov 25, 2024
Bhawesh is using the HubSpot Forms API and receiving errors about missing IP address and missing tracking cookie, causing analytics issues. They ask how to resolve these errors.
Answered by Robert Ainslie
Robert explains that the `context` parameter must be included in the Forms API submission payload. This should contain values like `hutk` (from the 'hubspotutk' cookie), `pageUri`, and `pageName` to ensure proper tracking and contact association. A link to documentation and a tutorial Gist are provided.