To allow Hotmart Analytics to track your visitors' behavior and provide accurate data on their sales journey, you must install the tracking code correctly on your pages. This code acts as a communication bridge between your website and Hotmart.
In this article, you'll learn where to find this code in your account, how to add it to the HTML of external pages, and the main differences between this tracking method and the Tracking Pixel.
Where Can I Find My Tracking Code in Analytics?
Before starting the installation on your page, you need to locate your tracking code in Analytics. Follow the steps below:
- Log in to your Hotmart account at https://app.hotmart.com.
- In the left sidebar, click Sales and then Sales Management.
- Click the Hotmart Analytics icon on the right side.
- In the Analytics dashboard, click the Tracking code button in the upper-right corner.
- There, you’ll see a section dedicated to your Tracking Code. This code is a small block of text that you must copy in its entirety for tracking to work correctly.
Important: Do not change any characters in this block to avoid data transmission errors.
Why Is This Code Different From the Tracking Pixel?
A common question is the difference between the Analytics Tracking Code and a Tracking Pixel (such as Meta or Google Ads). While both handle data, they serve different purposes:
- Tracking Pixel: Configured in the Hotmart Tools menu, it sends conversion data to external ad platforms. For more information, check out this article.
- Hotmart Analytics Tracking Code: Feeds Hotmart's internal behavior reports, such as the Views and Conversions tabs.
How Do I Install the Code on External Pages?
If you use your own websites, such as WordPress blogs or sales pages built on external platforms, you must install the code manually. Insert the code inside your site's header tag, known as <head>.
By placing the code in the header, it will load on every visit, allowing Hotmart to track the user journey from their very first visit up to the moment they click through to checkout.
Important: Leadlovers, WordPress, and GTM are external tools independent of Hotmart. Because of this, screen names, options, and workflows may change at any time without notice. If you have specific questions about these setups, we recommend checking their official documentation or contacting their support teams.
How Do I Configure the Tracking Code Using Hotmart Pages?
If you build your sales pages and landing pages using Hotmart Pages, the process depends on your tracking goals:
- To insert the tracking code to collect visit and click data for Analytics, go to Pages and add the code to your chosen page. You can find the step-by-step guide in this article.
- However, if your tracking goal involves capturing leads using the Lead Attribution tool, the process is different and requires Hotmart Send for its setup. Check out the step-by-step instructions in this article.
Frequently Asked Questions