We work for a digital marketing agency and a lot of our clients and ourselves use HubSpot.
Does anyone have the answer to the "holy grail" that is end to end tracking with the end outcome being a sale within Google Analytics?
At the moment we can track:
User clicks paid ad
Goes to website
Fills out form
Lead generated in CRM (name, number, email, channel) - can we track keyword or ad?
Lead generated in Google Analytics and therefore in the marketing platform e.g. Adwords
That's it ..... up to a marketing qualified lead, this is all we can optimise for, whether it's good or bad.
Once the lead turns into a sale we can see this in the CRM but not Google Analytics or any marketing platform (whichever the lead was generated from)
What we need is a CRM - Google Analytics API (connector) that can push a sale from the CRM into Analytics.
I have been doing some digging and it looks like Measurement Protocol could be a way forward? Capturing the unique user CID
I believe this is a headache for everyone, has it been solved yet? If so how?
You could get this data out of HubSpot by using either the Contacts API, the Contact Lists API (e.g. pulling an active list of all customers with a clientId value), or a workflow webhook (POSTing the data of enrolled contacts to one of your own endpoints).
You could then parse and format the data as needed before sending it into Google Analytics with their Measurement Protocol. The Google Analytics Solutions Community will be your best resource regarding more specific implementation questions regarding Measurement Protocol.
Well, @ralphioooo, as far as I understand your AnalyticsApplifier does almost the same, but costs $50/month. Not sure if I want to improve your commercial product for free or w/o any interest. However both you and direct HubSpot clients are welcome to DM me, if any potential cooperation is possible.
Hey. If you're about to track offline sales and/or offline conversions in GA, the CID field is by far not a single one you need to track to bypass GA filter as well as to send a proper GEO of a user, not a server. We've created custom Google Tag Manager tag to inject GA CID and all the rest needed hidden form fields into Non Hubspot Forms, that can be still tracked by HubSpot. Than you need to just use connector (Zapier fails to to it preperly) for sending offline even to GA with all the contact data.
We decided to a test internally on a test site, using our own forms and database. Once end to end has been achieved and works we are then going to test on Hubspot and our own website.
You could get this data out of HubSpot by using either the Contacts API, the Contact Lists API (e.g. pulling an active list of all customers with a clientId value), or a workflow webhook (POSTing the data of enrolled contacts to one of your own endpoints).
You could then parse and format the data as needed before sending it into Google Analytics with their Measurement Protocol. The Google Analytics Solutions Community will be your best resource regarding more specific implementation questions regarding Measurement Protocol.
As @NickMontagu notes, HubSpot can certainly track visitors eventually converting to customers, but involving Google Analytics does complicate matters.
A few other users have worked on this challenge and claim to be able to capture the GA clientId most of the time. Have you reviewed this topic and this topic?