Google Analytics: track_info_error

Modified on: Sun, 6 Sep, 2020 at 10:42 AM

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. 


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">

</script>


 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.



Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×