How to Track ThriveCart Funnels in Google Analytics 4

Cody Schneider7 min read

Trying to track your ThriveCart funnels in Google Analytics 4 can feel like chasing a ghost. You see traffic pouring into your sales page, you know sales are happening in ThriveCart, but a massive black hole exists between the two. This article will show you exactly how to connect those dots by properly setting up cross-domain tracking and building a funnel report in GA4 that shows you the complete customer journey. You'll finally be able to see which traffic sources are truly driving sales, not just clicks.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Why ThriveCart and GA4 Don't Naturally Talk

The core of the problem comes down to one simple thing: domains. Your website lives on yourwebsite.com, but your ThriveCart checkout lives on yourname.thrivecart.com. When a visitor clicks your “Buy Now” button, they leave your website and travel to a completely different domain.

To Google Analytics, this looks like two separate people and two separate sessions:

  • Session 1: Someone lands on your blog post, visits your sales page, and then - poof - they vanish. From GA4’s perspective, they just left your site.
  • Session 2: A brand new person mysteriously appears at your ThriveCart checkout page. When you look at your GA4 reports, the source of this "new" visitor is listed as yourwebsite.com, making it look like you're just referring traffic to yourself.

This broken journey makes it impossible to attribute sales to the right marketing channel. You can't tell if that purchase came from a Facebook ad, an email campaign, or an SEO-optimized blog post, because the tracking trail went cold the moment the user clicked over to ThriveCart.

The Solution: Cross-Domain Tracking

The fix for this is called cross-domain tracking. Think of it as giving your website visitor a digital passport. When the visitor travels from your website to ThriveCart’s domain, Google Analytics "stamps" their passport. This lets GA4 recognize them as the same person on both domains, stitching their journey together into a single, cohesive session.

Technically, this is done by automatically adding a unique parameter (you'll see _gl in the URL) to the link that goes from your site to ThriveCart. Here’s how to set it up.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Step-by-Step Guide to Connecting ThriveCart and GA4

Getting your tracking set up involves a few steps inside both Google Analytics and your ThriveCart account. Follow them carefully, and your data will be flowing correctly in no time.

Step 1: Grab Your GA4 Measurement ID

First, you need your unique identifier from Google Analytics. This is how ThriveCart knows which specific GA4 property to send data to.

  • Log in to your Google Analytics 4 account.
  • Click on Admin (the gear icon) in the bottom-left corner.
  • In the Property column, click on Data Streams.
  • Select the data stream for your website.
  • Your Measurement ID (it starts with "G-") will be in the top right. Copy it to your clipboard.

Step 2: Add thrivecart.com to Your Cross-Domain Linking List

Next, you need to tell GA4 which external domain it should share its "digital passport" with. In this case, it’s ThriveCart.

  • In the same Data Stream details page from Step 1, scroll down and click on Configure tag settings.
  • Under the Settings section, click Configure your domains.
  • Click the Add condition button.
  • The Match type should be "contains," and in the Domain box, type: thrivecart.com
  • Click Save.

This single action tells Google Tag Manager to start adding that special _gl parameter across the domains, enabling the tracking.

Step 3: Add Your Own Domain to the "Unwanted Referrals" List

This is a small but critical step that many people miss. You need to prevent GA4 from treating your own domain as a referral source when a customer gets sent back to your upsell or "Thank You" page after making a purchase on ThriveCart.

  • Again, inside your Admin > Data Streams > Configure tag settings screen, click Show more to expand all the settings.
  • Click on List unwanted referrals.
  • Click the Add condition button.
  • Set the Match type to "contains" and enter your website's domain (e.g., yourwebsite.com).
  • Click Save.

Now, when a user who bought something on yourname.thrivecart.com lands on yourwebsite.com/thank-you, GA4 won’t start a new session coming from a thrivecart.com referral.

Step 4: Integrate Your GA4 ID with ThriveCart

With GA4 configured, it's time to head over to ThriveCart and paste in your Measurement ID.

  • Log in to your ThriveCart account.
  • Click on your photo/profile icon at the top right, then go to Settings.
  • Navigate to Integrations > View integrations.
  • Find Google Analytics in the list and click "Settings."
  • Paste your GA4 Measurement ID (the "G-" code you copied in Step 1) into the box provided.
  • Make sure you check the box to Enable Google Analytics tracking on your ThriveCart checkout pages.
  • Click Save my settings.
GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Step 5: Test Your Cross-Domain Tracking Setup

Don't just assume it's working, take a moment to test it. This is the best way to confirm everything is configured correctly.

  1. Open your website's sales page in your browser.
  2. Click on the link that leads to your ThriveCart checkout page.
  3. Once the ThriveCart page loads, look at the URL in your browser's address bar.

You should see a URL that looks something like this:

https://yourname.thrivecart.com/product-name/?_gl=1*abcde*...

If you see that ?_gl= parameter appended to the URL, congratulations! Your cross-domain tracking is active. This parameter contains the unique client and session ID that GA4 is now passing between your domains.

How to Build a Funnel Report in GA4

Now that accurate, unified data is flowing into Google Analytics, you can finally build that funnel visualization you’ve been looking for. ThriveCart automatically sends key events to GA4, which we can use as steps in our funnel report.

We'll use GA4's Explore reports to do this.

1. Create a New Funnel Exploration Report

  • In GA4, click on the Explore icon in the left navigation menu.
  • Click on Funnel exploration to open up a new funnel template. Give it a name like "ThriveCart Sales Funnel."

2. Define Your Funnel Steps

This is where you tell GA4 what the user's journey should look like. ThriveCart automatically sends a few custom events that are perfect for this. In the "Steps" card, you will configure your funnel:

Step 1: Viewed Product

This step represents someone successfully landing on your ThriveCart product or checkout page.

  • Click the pencil icon to edit the first step.
  • Name the step something like Viewed Product Page.
  • Under "Add new condition," search for and select thrivecart_product_view.

Step 2: Started Checkout

This event fires when a user starts to fill in their details on the checkout page.

  • Click Add step.
  • Name this step Started Checkout.
  • Add a condition for the event named thrivecart_checkout_loaded.

Step 3: Completed Purchase

This is the final and most important step - a successful transaction.

  • Click Add step again.
  • Name it Purchase complete.
  • Add a condition for the event named thrivecart_order_completed.

Once you’ve added these three steps, click the blue Apply button in the top right. Your funnel visualization will instantly populate with data.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

3. Analyze Your Funnel Performance

Your new report will show you a bar chart representing each step of the user journey. You'll see precisely how many people viewed your product, how many of those started filling out the checkout form, and how many completed the purchase.

To make this data even more powerful, use the "Breakdown" card. Drag and drop dimensions like Session source / medium into the breakdown box. Now you can see your funnel performance broken down by individual marketing channels (e.g., google / cpc, facebook / cpc, yournewsletter / email), finally answering the question: "Which channels are actually making me money?"

Final Thoughts

Connecting the dots between your website and your ThriveCart account is all about setting up cross-domain tracking in GA4. Once configured, you unlock the ability to see the complete customer journey, attribute sales accurately, and build powerful funnel reports to optimize your marketing efforts.

Of course, building manual reports and keeping track of performance across all your platforms is often time-consuming, even when the data is flowing correctly. At a certain point, answering simple questions feels like it requires a full-time analyst. We built Graphed to solve this very problem. By securely connecting to data sources like Google Analytics, Shopify, Facebook Ads, and more, you can ask questions in plain English - like "create a dashboard showing my ThriveCart sales funnel broken down by campaign" - and get a real-time answer instantly, without having to build a single report yourself.

Related Articles