Hubspot Chat Tool: Recording Conversions in Analytics/Adwords

Hello,
I have met your post and we have managed to send sales to Google Ads, Analytics and send click and lead event with the HubSpot chat.

I am not a technician but it still helps you with your development team.

1. We collect variables such as clientid and gclid in each user’s session cookie (client with Google Analytics and Google Ads, and gclid to attribute sales to campaigns in Ads).

2. You must save this information as a contact property in HubSpot. And save it as a hidden field in a form.

3. With this information you can generate a Webhook that you can send to the different platforms by API in Google Ads (complicated by Google documentation) and Measurement protocol by Google Analytics (I do not know if there is another way but surely this is the easiest ).
In this way you can send the information in a workflow and webhook when there is a sale, lead or any action (for example).

4. For the chat, we have recently been able to send all user information. To do this you must activate the possibility of creating contacts in HubSpot without the need for email. Then after a chat action event (click or conversation), send the information via the HubSpot API and create a form with the user token to associate the Chat conversation and the information collected with the contact. (look this post)
Then in the logic of the chat you can send a webhook to Google Analytics or Google Ads to send the event.

In short, this is what we have implemented to be able to collect and send events with the integral and measured funnel.

Your post and requirement has time, but I hope it helps you or someone else.

:slightly_smiling_face: