Reporting & Analytics

ASharma58
Mitglied

Connect Google Analytics and Hubspot

lösung

I want to view the user's activity(page views and clicks) before they submitted the demo form that leads to contact creation on Hubspot.

 

Few solutions I can think of:

  • Sending the Contact's Record ID to GA4 as user property when user submits the form.
  • Sending the GA4 Client ID to Hubspot when user submits the form.

 

Is there a better solution to achieve this? Also, are there tools/plugins available to achieve this without a code change. 

 

1 Akzeptierte Lösung
Jigar_Thakker
Lösung
Autorität | Diamond Partner
Autorität | Diamond Partner

Connect Google Analytics and Hubspot

lösung

@ASharma58 

 

You can track your website visitors and their activities in HubSpot if you have installed the HubSpot tracking code on your website correctly check this complete guide here: https://knowledge.hubspot.com/prospects/use-prospects 

 

Regarding google analytics code you can add the code to HubSpot check this : https://knowledge.hubspot.com/website-pages/integrate-google-analytics-with-hubspot-content 

 

Let me know if you have any follow-up questions. 

 

If my post was helpful in addressing your query, Support the community by indicating it as the solution.

 

Thanks!

Jigar Thakkar

Chief Business Officer

HubSpot Wizard | Community Champion

mobilePhone
+91 9082479770
emailAddress
jigar@insidea.com
website
www.insidea.com

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
3 Antworten
Jigar_Thakker
Lösung
Autorität | Diamond Partner
Autorität | Diamond Partner

Connect Google Analytics and Hubspot

lösung

@ASharma58 

 

You can track your website visitors and their activities in HubSpot if you have installed the HubSpot tracking code on your website correctly check this complete guide here: https://knowledge.hubspot.com/prospects/use-prospects 

 

Regarding google analytics code you can add the code to HubSpot check this : https://knowledge.hubspot.com/website-pages/integrate-google-analytics-with-hubspot-content 

 

Let me know if you have any follow-up questions. 

 

If my post was helpful in addressing your query, Support the community by indicating it as the solution.

 

Thanks!

Jigar Thakkar

Chief Business Officer

HubSpot Wizard | Community Champion

mobilePhone
+91 9082479770
emailAddress
jigar@insidea.com
website
www.insidea.com
0 Upvotes
ASharma58
Mitglied

Connect Google Analytics and Hubspot

lösung

Sorry, just realised that the existing GA intergration already captures the pages visited even before the form submission. 

 

So when the Hubspot JS is loaded on the website, it starts tracking all the visits. And when the user finally submits the form, it pushes all the visits data to the contact created. 

 

Thanks, Jigar. 

0 Upvotes
ASharma58
Mitglied

Connect Google Analytics and Hubspot

lösung

Hi Jigar,

 

Thanks for quick response. 

 

We had already enabled GA tracking. But it is tracking pageviews only after the form submission. Not before the form submission.

 

How can we get the pages viewed by the user before submitting the form? 

0 Upvotes