We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Sep 27, 2021 3:50 PM
Hello everyone,
I'm with this problem.
I'm implementing a third party chatbot, I added the script and it creates an iframe on the page with the new chatbot.
In the chatflow when the user reply the chat with their email address, the chatbot create a contact in the Hubspot, but it's missing some data like "hs_analytics_first_url" and "hs_analytics_source", is there a way to send this data when creating a contact in Hubspot?
We tried using the cookie "hubspotutk" with the Contact API
https://legacydocs.hubspot.com/docs/methods/contacts/get_batch_by_user_token_with_token_keys
But it only works if the user alredy is a contact (is-contact: true), if it's a new user (is-contact: false) the API did not return the data we need:
- hs_analytics_first_url
- hs_analytics_source
Can anyone help with this?
Sep 28, 2021 3:52 PM
@webdew , can you help here?