Last updated: October 10, 2022
|All products and plans|
When you integrate Google Analytics with HubSpot, your Google Analytics account will collect data on the visitors to your HubSpot site. There are two ways to integrate Google Analytics with HubSpot:
Please note: starting July 1 2023, Google is replacing Universal Analytics with Google Analytics 4. To avoid losing data synced to HubSpot, you'll need to switch to Google Analytics 4 prior to the change.
You can add a Tracking ID directly to your HubSpot settings to track visitors in Google Analytics. You can either integrate Google Analytics with individual domains, or integrate it with all domains.
To integrate Google Analytics with one or all domains hosted in HubSpot:
You can add the Google Analytics tracking code to the header HTML of your domains in settings. This is also recommended if you are using a customized Google Analytics script.
If you've added a Measurement ID or the Google Analytics tracking code to a domain, any blog hosted on that domain will be tracked automatically. To track a single blog, rather than all content on a domain, you can add the Google Analytics tracking code to the blog's header HTML.
To track a single page, rather than all content on a domain, you can add the Google Analytics tracking code to the page's header HTML. This feature is only available in Marketing Hub Professional and Enterprise and CMS Hub accounts.
Navigate to your content:
Thank you for your feedback, it means a lot to us.
The fonts available for content in HubSpot depend on the type of content and the type of font. Certain...
Assets across HubSpot can be partitioned so that only the right teams and users can view and edit them. This...
Users with publish permissions can control which contacts can access specific HubSpot-hosted pages, blogs and...