Connecting Google Analytics and Hubspot
4 weeks ago
We want to set up end-to-end analytics for our website and connect it with our Hubspot CRM. So that we can track from what campaign a lead came from.
To do this, we need to transfer the CID (customer ID) from the cookie to the CRM Hubspot, and the CID should be attached to the card of a lead. We need to transfer it to Google Analytics using the API Measurement Protocol. How can you implement this solution?
Does Hubspot API give an ability to do this? What endpoint should we use?
What are the other recommendations to accomplish this task?