I want to create a custom signup flow with a few steps from a 3rd party application (my application with its own rest API and DB). At every step, I want to collect some contact information from the lead. After completing the signup flow I want to add this contact to my contacts list in HS (as well as to my own DB).
How would you approach this?
1. Store the information in a session (on the client) while collecting it from the lead, and after the session is done (complete/drop/other) - CREATE a new contact in HS.
2. The moment a lead provides some mandatory information (i.e phone @ email) - CREATE a new contact and UPDATE HS with every change.
That depends, do you want to store contact information in HubSpot if someone does not complete the signup? If not, you should probably create a contact when the user finishes the signup flow.
Learn more about HubSpot by following me on LinkedIn or YouTube
✅ Did my answer solve your issue? Help the community by marking it as the solution.
I agree with @Teun, you should only create the contact in Hubspot once the user finishes the sign up, otherwise you'd store their information in Hubspot without their consent.
I don't know where the company you're building the website is from, but you should be careful to comply with current privacy-related regulations like GDPR if you're in Europe.
Now regarding the technicalities, using the local storage client side to store each step's information before you push the contact into Hubspot will work but it really depends if you're having one step per page or if you are dynamically loading each step on the page in AJAX (in this case you could simply store the values in a javascript object).
Hope this helps,
Ludwig
CTO @ Mi4 Hubspot Platinum Partner and Integration Expert
Passionate human, very curious about everything data and automation.
I agree with @Teun, you should only create the contact in Hubspot once the user finishes the sign up, otherwise you'd store their information in Hubspot without their consent.
I don't know where the company you're building the website is from, but you should be careful to comply with current privacy-related regulations like GDPR if you're in Europe.
Now regarding the technicalities, using the local storage client side to store each step's information before you push the contact into Hubspot will work but it really depends if you're having one step per page or if you are dynamically loading each step on the page in AJAX (in this case you could simply store the values in a javascript object).
Hope this helps,
Ludwig
CTO @ Mi4 Hubspot Platinum Partner and Integration Expert
Passionate human, very curious about everything data and automation.
That depends, do you want to store contact information in HubSpot if someone does not complete the signup? If not, you should probably create a contact when the user finishes the signup flow.
Learn more about HubSpot by following me on LinkedIn or YouTube
✅ Did my answer solve your issue? Help the community by marking it as the solution.