# Allowing Google Analytics 4 (Web data stream) with HubSpot

**URL:** <https://community.hubspot.com/t/allowing-google-analytics-4-web-data-stream-with-hubspot/38468>\
**Category:** HubSpot Ideas\
**Tags:** integrations\
**Created:** [June 7, 2021, 6:28am UTC](https://community.hubspot.com/t/allowing-google-analytics-4-web-data-stream-with-hubspot/38468 "2021-06-07T06:28:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![JReekes](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jreekes/32/14727_2.png) [@JReekes](https://community.hubspot.com/u/JReekes)\
**Post date:** [July 27, 2021, 5:38pm UTC](https://community.hubspot.com/t/allowing-google-analytics-4-web-data-stream-with-hubspot/38468/3 "2021-07-27T17:38:17Z")

</div>

I believe this would be simple enough for us customers, if HubSpot used the Global Site Tag (gtag.js) tracking code instead of the old analytics.js method. If HubSpot was using the current Global Site Tag script, we could easily connect the GA-4 property to our existing Google tracking code.

[https://support.google.com/analytics/answer/9744165#use\_existing\_tags](https://support.google.com/analytics/answer/9744165#use_existing_tags)

---

_[View the full topic](https://community.hubspot.com/t/allowing-google-analytics-4-web-data-stream-with-hubspot/38468)._
