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

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

This article has been updated to demonstrate multiple methods of integrating with Google Analytics v4. We highly recommend completing these steps before Universal Analytics stops 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 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.

Updated on June 14, 2023

Was this article helpful?

Related Articles