We are changing our architecture and hence this ticket. What we are doing is, we have our own REST API based backend. I need to understand how hubspot works with our APIs.
Let me explain by example.
- User comes to our website the first time. Hubspot creates a cookie
- The user navigates few pages. Hubspot track this based on Cookie
- Now when customer signup from our frontend, we call our internal REST API to create a user in our database and also want to create a Contact in Hubspot.
Question is, How HubSpot can map the before signup browsing history with the newly signup user? As cookie is on frontend and HubSpot form submission is happening using REST API, how mapping will work?
What is the best way to handle this?