Master Tracking Hubspot Bookings via Google Analytics 4 & Tag Manager

May 10, 2024 at 2:03:04 PM

TL;DR The article provides a guide on tracking Hubspot booking form submissions with Google Analytics 4 (GA4) and Google Tag Manager (GTM). It involves adding an event listener in GTM to capture successful bookings, sending this information to the Data Layer, and creating a GA4 tag to collect and send this data to GA4. The guide also includes instructions on testing, creating GA4 events, triggers, parameters, and finding the data in GA4 reports.

Master Tracking Hubspot Bookings via Google Analytics 4 & Tag Manager

The article provides a detailed guide on how to track Hubspot booking forms with Google Analytics 4 (GA4) and Google Tag Manager (GTM). The process is broken down into two main steps:

  1. Adding an event listener in GTM to check for messages containing information on a successful meeting booking and sending this information to the Data Layer.
  2. Creating a GA4 tag to collect the data from the Data Layer and send it to Google Analytics 4.

The guide also includes a Javascript code for the Hubspot Meetings Listener, which adds an event listener to the window object. This listener checks if the message contains data indicating a successful meeting booking and, if so, pushes data related to the booking into the Data Layer.

The article then provides instructions on how to test the custom code, create a GA4 event and find data in reports, create a trigger, create Data Layer variables, and create a tag. It also explains how to find the Measurement ID in your Google Analytics 4 data stream and how to add other elements to the tag.

The guide also includes steps on how to test the new event and how to create event-scoped custom dimensions in GA4. Finally, it explains how to publish the container and find data in GA4.

The author, Julius Fedorovicius, concludes by reminding readers that Hubspot booking forms require a different listener than regular Hubspot forms. He also mentions that he has a video on his YouTube channel discussing regular forms.

Q&A

Have more questions on this topic? Ask our AI assistant for in-depth insights.

The Only Digital Marketing Feed You'll Ever Need.

Stay informed your way. Tailored updates when and how you want them. 100% Free.

10,000+ Users

500+ Sources

1000+ Tools

Or

Related Posts

BigQuery Data Transfer Service adds Google Analytics 4 reporting support Trending ️‍πŸ”₯

BigQuery Data Transfer Service adds Google Analytics 4 reporting support

Google Cloud
Google Cloud

Official Source

Official Source

Google Cloud is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Google Analytics 4 Introduces Annotations and Anomaly Drivers Features Trending ️‍πŸ”₯

Google Analytics 4 Introduces Annotations and Anomaly Drivers Features

Josh Silverbauer
Josh Silverbauer

Top Creator

Top Analytics Creator

Josh Silverbauer is a Top Analytics Creator. Part of Swipe Insight Select, a curated list of top creators.

Top Analytics Creator
Marketing Workflows Powered by AI

Marketing Workflows Powered by AI

Featured
Markifact
Markifact

Verified Sponsor

Verified Sponsor

Markifact is a Verified Sponsor. Want to get featured here? Contact us.

Verified Sponsor
Google Analytics Introduces Percentage Values and Problem Detection Features

Google Analytics Introduces Percentage Values and Problem Detection Features

Google
Google

Official Source

Official Source

Google is a Official Source. The source has been verified by Swipe Insight team.

Official Source
 Google Tag Manager Containers to Automatically Load Google Tag Starting April 2025 Trending ️‍πŸ”₯

Google Tag Manager Containers to Automatically Load Google Tag Starting April 2025

Google
Google

Official Source

Official Source

Google is a Official Source. The source has been verified by Swipe Insight team.

Official Source
GA4 introduces warning for not set values but raises concerns over data accuracy

GA4 introduces warning for not set values but raises concerns over data accuracy

Brais Calvo
Brais Calvo

Top Creator

Top Analytics Creator

Brais Calvo is a Top Analytics Creator. Part of Swipe Insight Select, a curated list of top creators.

Top Analytics Creator
 Google Tag Now Uses Service Workers to Enhance GTM Server-Side Data Transmission

Google Tag Now Uses Service Workers to Enhance GTM Server-Side Data Transmission

Brais Calvo
Brais Calvo

Top Creator

Top Analytics Creator

Brais Calvo is a Top Analytics Creator. Part of Swipe Insight Select, a curated list of top creators.

Top Analytics Creator
Meta Expands Google Analytics Integration to More Advertisers Trending ️‍πŸ”₯

Meta Expands Google Analytics Integration to More Advertisers

Bram Van der Hallen
Bram Van der Hallen

Top Creator

Top Meta Ads Creator

Bram Van der Hallen is a Top Meta Ads Creator. Part of Swipe Insight Select, a curated list of top creators.

Top Meta Ads Creator

Related Tools

Markifact logo

Markifact

Verified Tool

Verified Tool

Markifact is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Marketing Workflows Powered by AI

Featured
Marketing Auditor logo

Marketing Auditor

Verified Tool

Verified Tool

Marketing Auditor is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Automated audits for Google Ads and Analytics.

Get Featured Here

Showcase your tool in this list.

Contact Us
GA4 Auditor logo

GA4 Auditor

Verified Tool

Verified Tool

GA4 Auditor is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Automated GA4 audits with actionable insights

Data Analysis
Matomo logo

Matomo

Web analytics with full data ownership

Analytics
GA4 SQL logo

GA4 SQL

Verified Tool

Verified Tool

GA4 SQL is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Generate GA4 BigQuery queries easily

Data Analysis
PostHog logo

PostHog

All-in-one platform for product analytics and testing

Analytics
easyTag.io logo

easyTag.io

Effortless GA4 server-side tracking

Plausible Analytics logo

Plausible Analytics

Lightweight, privacy-friendly web analytics

Analytics
Akkio logo

Akkio

AI-powered analytics for agencies

Data Analysis
NinjaCat logo

NinjaCat

AI-powered marketing data and analytics platform

Reporting

Get Featured Here

Showcase your tool in this list.

Contact Us