Scope
GA tracking
Google Analytics checkout js
Solution
The Chargebee and Google Analytics integration helps in getting an insight into the conversion metrics with respect to the hosted pages like the checkout pages, thank you pages and customer portal. Refer here to know more about the integration.
Checkout V2:
The Chargebee integration with Google Analytics helps you track page-views, information related to visitors traffic and get an insight into the conversion metrics on Chargebee's Checkout & Portal V2 pages (checkout pages, thank you pages, customer portal).
Note: Since the users are redirected from your domain to Chargebee’s domain, to ensure that tracking happens across domains, you need to enable Cross-Domain Tracking within Chargebee.
Refer to this documentation for more information on integrating your Chargebee account with Google Analytics.
Checkout V3:
Chargebee’s Checkout and Self-serve portal(v3) loads within your app and there is no redirection involved. Hence it supports Google event tracking that can be used to track content independently from a web page or a screen load.
You can track JS events related to Checkout and Self-serve portal, Click Here to see the list of JS events that is supported by Chargebee's JS.
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 integration, and never both.
Related articles and documentation:
Setting up Google Analytics if I’m using Chargebee Checkout (V3)