Docs

Hosted Pages Articles & FAQ

api, drop, error, in, info, integrate, mode, support, track

41075087

2020-09-06T05:12:31Z

2025-02-12T08:22:49Z

213

0

1

247833

Google Analytics: track_info_error on Checkout V3

Google Analytics: track_info_error on Checkout V3 

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.

<script src=“https://js.chargebee.com/v2/chargebee.js

data-cb-site=“you-chargebee-subdomain” data-cb-ga-enabled=“true”>

B. If you are using API

Pass the enableGATracking parameter as “true” while initializing the Chargebee instance.

var chargebeeInstance = Chargebee.init({

site: “your-chargebee-subdomain”,

enableGATracking: true

});

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.
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 (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 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 integrationand never both.

Related Articles 

“Subscription[Start_Date] should not be passed for cancelled subscription” error while importing subscriptions via Bulk operation.
How to customise the Consent management settings in Chargebee’s hosted page
Error: Session Expired
Chargebee's site name was renamed but why does this still show a different name?
[API Users] How to generate hosted page URL and embed via iFrame
How to edit the fields that appear on the hosted customer portal? Will it appear only in English?
Can I group plans and display them in the customer portal?
How to import a Google font which has two words in the name?
How to set a landing page URL for the logo added to the theme?
Why is the checkout page not loading?
How to collect the coupon codes during signup on the V2 checkout pages?
Checkout V3 - FAQ
How can I collect the coupon codes on the V3 checkout pages during signup?
Content security policy for the Checkout page
How do I control the Quantity increments on the Checkout page?
Redirect URL not working
Checkout page returns with exclamation marks when my customer tries to add his card details. What should I do?
Is it possible to change the order in which the payment methods are displayed in checkout?
“Wrong format” error while passing email id in checkout
How to make the billing address mandatory in the self-serve portal when my customer reactivates his subscription?
Can I let my customers set the Auto collection status at the self-serve portal?
How to hide the discount prompt from displaying?
How can my customers set a password for their self serve portal?
How to add shipping address?
Allow customers to add addons on Self serve portal
How to navigate to the specific step in the Portal popup using JS/PHP?
Where do I add my domain for the allow-list?
Was this article helpful?
Loading…