Docs
You are viewing:
Product Catalog 2.0
Summary
This error occurs if the Google Analytics(GA) tracking parameters are not added to your mode of integration. Cross-check the GA tracking parameter on the code of the checkout page.
Solution :
The below implementation setup step should be verified to solve the "track_info_error".
A. If you are using Drop-in Script
Enable the data-cb-ga-enabled attribute to "true" when you invoke Chargebee JS in the page headers of your site.
B. If you are using API
Pass the enableGATracking parameter as "true" while initializing the Chargebee instance.
site: "your-chargebee-subdomain",
enableGATracking: true
});```
<div>
**Note:** GA Tracking is applicable only when the above parameters are added. To know more about built-in support for Google Analytics (GA) refer [to this document](https://www.chargebee.com/docs/2.0/ga4-checkout-portal.html).
</div>
<div>
**Google Universal Analytics** is getting deprecated and will stop processing data on **July 1, 2023**. Google has introduced a new analytics engine **[Google Analytics 4](https://www.chargebee.com/docs/ga4-checkout-portal.html)** **_(__GA4)_** that offers new and advanced features that can help you gain a deeper understanding of your website visitors' behavior, such as event tracking, machine learning, and cross-device tracking. With the new setup of GA4 and Chargebee-hosted pages it leverage the capabilities to analyze and optimize your website's performance, providing you with a competitive edge in the subscription business.
If your site is configured with **Google Universal Analytics** version, then you can refer to this [link](https://www.chargebee.com/docs/ga4-checkout-portal.html) to migrate to **Google Analytics 4**.
If you're using **Google Tag Manager** to connect to your **Google Analytics 4**, we recommend that you use [this separate integration](https://www.chargebee.com/docs/2.0/gtm-ga4.html), **and never both.**
</div>
Show more
Was this article helpful?