Google Analytics 4 (GA4) allows you to track visitor behavior on your product pages, helping you better understand the customer journey and analyze the performance of your sales strategies.
By integrating Google Analytics with Hotmart, you can receive information about important events, such as page views, checkout starts, and completed purchases. This data can be used to monitor results, create reports, and make decisions based on your customers' behavior.
In this article, you'll learn how to find your Measurement ID in Google Analytics 4, set up the integration in Hotmart, and understand which events are sent to your GA4 property.
What should I know before setting up Google Analytics?
Before you begin the setup process, keep the following points in mind:
- The integration available in Hotmart is compatible with Google Analytics 4 (GA4).
- You must have an active property in Google Analytics to obtain a Measurement ID.
- The ID used during setup must follow the format G-XXXXXXXXXX.
- After the setup is completed, it may take a few hours for data to appear in your Google Analytics reports.
How do I find my Measurement ID in Google Analytics 4?
If you don't have your property's Measurement ID yet, follow these steps in Google Analytics:
- Sign in to your Google Analytics account.
- Click Admin in the lower-left corner of the screen.
- In the Property column, click Data Streams.
- Select the web data stream you want to use.
- At the top of the screen, copy the Measurement ID, identified by the format G-XXXXXXXXXX.
You will use this code when setting up the integration in Hotmart.
How do I set up Google Analytics in Hotmart?
After copying your Google Analytics 4 Measurement ID, follow these steps:
- Sign in to your Hotmart account at https://app.hotmart.com.
- In the left-hand menu, click Tools, then Show all.
- Select Tracking Pixel.
- Select the product that will receive the configuration.
- Then click Google Analytics.
- Paste your Measurement ID into the indicated field and click Continue.
- Select the event types you want to track. During this step, carefully review the advanced settings. Then click Continue.
- To finish, click Save.
Once the configuration is saved, Hotmart will automatically begin sending available events to your Google Analytics property.
Which events does Hotmart send to Google Analytics?
When the integration is active, Hotmart sends events related to customer navigation and purchases. The main events sent include:
- Page_view: sent when a visitor views a Hotmart Product Page.
- Begin_checkout: sent when a customer accesses the checkout page and starts the purchase process.
- Purchase: sent when a purchase is completed successfully.
In addition to recording the conversion, this event may also include transaction details such as the product ID, purchase amount, and transaction currency.
This data can be used to create performance reports and track conversions within Google Analytics.