1. Home
  2. Custom Scripts & Codes
  3. Tracking with Google Analytics (UA, GAv4, or GTM)

Tracking with Google Analytics (UA, GAv4, or GTM)

The ThriveCart Google Analytics integration allows you to harness the full power of Google’s advanced reporting tools to understand customer behavior, optimize sales funnels, and make data-driven decisions. 

Connecting ThriveCart to Google Analytics is seamless and ensures your checkout and funnel data are accurately tracked across every step of the customer journey. While there are several ways to send data to Google, such as GA4 tracking setup, we recommend using the Google Tag Manager container method for the most flexibility and precision—especially when transitioning from older tracking setups during your Universal Analytics migration.

Learn how to track checkouts, funnels, and purchase behavior accurately, compare data across properties, and ensure your ecommerce analytics are future-proofed for the post-UA era.

This article has been updated to demonstrate multiple methods of integrating with Google Analytics v4. We highly recommend completing these steps as Universal Analytics stopped processing data on July 1st 2023.

Option 1: Using the new Google Tag Manager integration (Recommended for most users)
Note: This is the recommended way of passing data through to Google Analytics for all new users.

Click here to learn how to easily integrate Google Tag Manager and ThriveCart.
Option 2: Using the GA4 Tracking Setup Assistant (Recommended if you’re already using Universal Analytics)
Note: This is the recommended method if you’re already using Google Analytics with ThriveCart, as data will be passed to both your existing Universal Analytics property and your newly-created GA4 property.

Click here to learn how to use the GA4 Setup Assistant.
Option 3: Using GA4 directly
Note: This is not recommended if you are already using Universal Analytics, as data will only be sent to GA4 once you enable this option.

Click here to learn how to use GA4 directly.
Option 4: Configuring Google Tag Manager manually
Note: We do not recommend this option due to its complexity. See “Option 1” for our template which makes this process significantly easier!

Click here to learn how to configure Google Tag Manager manually.

Which option should I use?

If you are a new user who is setting up Google Analytics for the first time, we strongly recommend using the new Google Tag Manager integration. This is quick and easy to set up, and also gives you the ability to easily connect other tracking services through Google Tag Manager’s features.

If you are already using Google Analytics, we recommend using the GA4 Setup Assistant, as this will send data to both your existing Universal Analytics property and your new GA4 property.

How do I view my data and access reports?

Click here to view our guide on how to set up reporting within Google Analytics 4. The reports available are significantly more powerful than previously in Universal Analytics, but it does require some manual configuration initially.

It’s important to note that Google Analytics uses what’s known as ‘client-side’ JavaScript tracking. This is where their ‘pixel’ code/script is required to run on the customer’s device in order to be reported back to their platform.

If for any reason that code cannot run, the event won’t get tracked in Google Analytics. This could occur due to various browser settings or extensions which may block the tracking script or prevent it from loading.

Frequently Asked Questions (FAQs)

  • Q: I already have a Universal Analytics account, is this still the best method to track data?
    • A: No, this would be the method for newer users, and while it is recommended to move to GTM for tracking – you could consider using the GA4 Setup Assistant tool instead to as part of your Universal Analytics migration, which will send data to Google Analytics as well as Universal Analytics (see more here).
  • Q: I’m not sure which way to start tracking Analytics in Google, how do I get started?
    • A: Getting setup with the ThriveCart Google Tag Manager container is the recommended way to get setup for first time users

Still Need Help?

If you’ve followed these steps and are still experiencing issues or have additional questions, please contact our support team here. 

Updated on November 13, 2025
Was this article helpful?

Related Articles