Get Started

How To Set Up WooCommerce Google Analytics Integration [2024]

Editorial Team
January 17, 2023
How To Set Up WooCommerce Google Analytics Integration [2024]

Do you want a quick and easy way to establish WooCommerce Google Analytics integration?

Connecting Google Analytics to your WooCommerce store lets you easily track the performance and monitor each conversion happening in your online store.

You get all kinds of insights through eCommerce tracking using Google Analytics.

From the top-selling product to the revenue you’re generating, tracking cart abandonment, new leads, and more.

In this post, we’ll guide how you can do all this by integrating Google Analytics with your WooCommerce store and enabling event tracking on your store.

Why You Should Integrate Google Analytics with WooCommerce?

Google Analytics is a powerful tool that tracks and reports website traffic as well as other important metrics, useful to help grow your business.

Here’s how WooCommerce Google Analytics integration assists you:

  • Collect valuable and actionable customer insights - Get important metrics such as organic and paid traffic, conversions, bounce rates as well as generate eCommerce tracking reports, and more.
  • Monitor the performance of the WooCommerce store - Monitor the performance of your WooCommerce stores such as new purchases made, lead generation, abandoned carts, and more.
  • Evaluate what’s working and set improvements - You can use Google Analytics to test and optimize your ads as well as pages such as checkouts, product pages, etc. to get better results.

That’s why you must connect your WooCommerce store to Google Analytics for effective data tracking.

Types of Google Analytics Properties

Google Analytics currently has two types of properties:

  • Universal Analytics (UA) - The earlier version of Google Analytics focuses on tracking the interactions of an individual user on a website. It uses a measurement model that depends on sessions and page views.
  • Google Analytics 4 (GA4) - Google Analytics 4 offers a more comprehensive approach that incorporates machine learning and AI to provide a complete understanding of user behavior across different platforms. Its measurement model is based on events and parameters across channels and devices.

Google has recently announced that it’ll discontinue its UA version by July 2023. GA4 will only be the sole option for tracking analytics as it’s much more powerful and accurate than UA.

However, we’ll help you track conversions for both UA and GA4 versions in this post.

Free Tool We’ll Use to Set Up WooCommerce Google Analytics Integration

To connect WooCommerce with Google Analytics, you need FunnelKit’s Funnel Builder.

It not only lets you set up highly-optimized store checkouts, opt-in pages, upsell offers, etc. but it also offers deep integration with Google Analytics.

FunnelKit is compatible with both the UA (Universal Analytics) as well as the latest GA4 (latest Google Analytics iteration) integrations.

To integrate Google Analytics with your WooCommerce store, you don’t need an extra plugin like WooCommerce Google Analytics to track various events.

Instead, FunnelKit takes care of all the conversion tracking on your store and visualizes them on Google Analytics.


To install the FunnelKit Funnel Builder, go to your WordPress dashboard.

Then, navigate to Plugins > Add New.

Add a new plugin to WordPress

Search for FunnelKit Funnel Builder and hit the ‘Install Now’ button.

Please note that FunnelKit’s Lite version is absolutely free to use.

Look for FunnelKit and click on Install Now

Now Funnel Builder will get installed on your website.

Once done, hit the 'Activate' button to start using the plugin.

Activate FunnelKit by clicking on the activate button

Well done! The FunnelKit's Funnel Builder is now installed and activated on your website.

Types of Events That Can Be Tracked

See the list of events that you can track via WooCommerce Google Analytics integration:

Common GA events

  • Page view - When a user lands on any page of your WooCommerce store
  • View items - The user views an item on your store’s product page
  • Add to cart - Track when customers add a product to their cart
  • Begin Checkout - When the user starts the checkout process
  • Add payment info - When a user adds the payment information during the checkout
  • Purchase - User successfully makes a purchase (usually denoted by when a user goes from checkout to the thank you page)

FunnelKit specific events

  • Order bump events - The user accepts the order bump offer on the checkout page and adds it to their cart.
  • Custom funnel event step - The user lands on a specific step of the sales funnel created via FunnelKit. It includes all the pages such as optin page, optin confirmation, sales page, checkout, upsell, downsell and thank you page.

FunnelKit has the ability to track site-wide events as well as each step in your sales funnels activated on your website.

How to Connect Google Analytics to WooCommerce?

FunnelKit is compatible with both the UA and GA4 integration.

You need the Analytics ID to set up WooCommerce Google Analytics integration.

1. Find Universal Analytics ID

Log in to your Google Analytics account by entering your Google suite credentials.

Once you’re logged in, go to 'Admin' on the bottom left menu of your screen.

Go to the admin options from your Google Analytics dashboard

From there, click on 'Property Settings'.

Click on the UA property settings

Here, you'll find your Universal Analytics ID under the Tracking ID.

Copy the universal analytics ID - WooCommerce Google Analytics Integration

Copy your UA ID from here.

2. Find Google Analytics 4 ID

If you don’t have GA4 property yet, you can set it up using this guide.

On your Google Analytics account, create a new GA4 property from your Admin dashboard:

Create a new GA 4 property

Next, select the information about your business including the industry, size and the intention of using Google Analytics in the next step to create your Google Analytics 4 property.

Set up the data collection

Now you need to set up the platform for data collection. For that, choose a platform of “Web”.

Choose the "Web" data stream

Next, enter the URL of your WooCommerce store and the name of your stream.

Set up your web stream for WooCommerce Google Analytics Integration

It’ll successfully create your data stream.

Here you can see your Analytics 4 ID:

Copy the GA4 Property Measurement ID

Copy the Google Analytics 4 Measurement ID.

3. Add the Analytics ID to WooCommerce

Go to the 'Settings' section within FunnelKit’s Funnel Builder.

Under Google Analytics, paste the Analytics ID.

Paste the Google Analytics ID to establish WooCommerce Google Analytics Integration

Check this option to enable the Google Analytics 4 property.

Enable Google Analytics 4

If you’re using Universal Analytics, then you don’t have to enable Google Analytics 4 option.

Paste your universal analytics ID

If you have multiple GA properties, you can enter them here one after the other separated by commas.

Furthermore, if you have both UA and GA4 properties, you can even enter them here one after the other separated by commas.

Enter multiple Google Analytics ID separated by comma to track - WooCommerce Google Analytics Integration

That’s it! You have successfully connected Google Analytics to your WooCommerce store.

4. Enable the events you want to track

Here, you can enable the events you want to track with FunnelKit.

Here, enable the events you want to track on your website with FunnelKit.

Site-wide events

  • Page View
  • Add to Cart
  • View Item

Optin and Sales Page events

  • Page View
  • Lead

Checkout and Order Bump events

  • Page View
  • Add to Cart
  • Begin Checkout
  • Order Bump Conversion
  • Add Payment Info

Purchase events

  • Page View
  • Purchase

Enable custom funnel steps

Enable the events you want to track - WooCommerce Google Analytics Integration

Once done, click on the 'Save Changes' button to lock in all the changes made. This section answers your 'How do I track WooCommerce transactions in Google Analytics?' query.

Well done! This completes your WooCommerce Google Analytics integration.

How to Test if the Events are Capturing on Google Analytics?

Follow the method below on how to test the events on your WooCommerce store to check whether they are captured on Google Analytics.

Here we’ll be testing the events for both Universal Analytics and Google Analytics 4 properties:

1. Add the domain to Google Tag Assistant

Go to Google Tag Assistant and add the domain.

Add the domain to Google Tag Assistant

Enter the URL of your website and click on the ‘Connect’ button.

Enter the URL of your website and click Connect

It’ll open up your website in a new tab.

Now, navigate to the pages in your store and the extension will show the events triggered in real time.

Click on 'Continue' and start testing the WooCommerce Google Analytics integration.

Click on Continue to test WooCommerce Google Analytics Integration

2. Navigate to your website and check the triggered events

Let’s now navigate to our WooCommerce website from the previous tab opened in point 1.

Adding an item to the cart

Test the woocommerce google analytics integration by adding items to the cart

These are the events that get captured under Google Analytics 4 - WooCommerce integration:

woocommerce google analytics integration - see events under GA4 property

Click on the next tab to see events under UA property:

woocommerce google analytics integration - see events under UA property

As you can see, it has started capturing the events for both UA and GA4 properties.

If you click on any of these blocks, you can see the detailed event:

See the detailed event by clicking on the captured event block

Initiating the Checkout process and making a purchase

Next, we will start the checkout process and make a test purchase by going through the payment gateway.

These are the WooCommerce GA4 eCommerce tracking events that got triggered in the whole shopping process:

Events captured under GA4 property

The next UA tab shows these triggered events including purchase transactions which means it's tracking each event in your WooCommerce store.

Triggered events captured for Universal Analytics

Furthermore, you can also see the data in real time from the Google Analytics dashboard.

Real time data for woocommerce google analytics integration

Since all the events got captured, it means the events are successfully getting fired over Universal Analytics ID as well.

The data and reports for a particular day will get generated after 24-48 hours. You can view and analyze these metrics from there as well.

This means that events are successfully getting tracked for Google Analytics 4 as well as Universal Analytics property in your WooCommerce store.

This is how you can test and verify the Universal and Google Analytics 4 implementation and events firing/capturing on your WooCommerce store.

Frequently Asked Questions (FAQs) on WooCommerce Google Analytics Integration

Here are some frequently asked questions from users regarding Google Analytics integration with WooCommerce.

1. Do I need Google Analytics with WooCommerce?

If you want to monitor traffic to your WooCommerce website, then you should integrate Google Analytics into your store. From there, you’ll be able to measure the page visits, store conversions, abandoned carts, and more.

2. Can you connect WordPress to Google Analytics?

Yes, you can connect your WordPress website to Google Analytics. All you need is one plugin - FunnelKit to establish this connection. 

3. How do I connect Google Analytics to WooCommerce?

Connecting Google Analytics to WooCommerce is quite easy. Enter the Google Analytics ID into the FunnelKit dashboard and you’re good to go. You can follow this post for step-by-step instructions to set up WooCommerce Google Analytics integration.

4. Can I track events of both UA and GA4 iterations with FunnelKit?

Yes, you can track conversions of both UA and GA4 iterations with FunnelKit at the same time. Just enter both the UA and GA4 IDs separated by a comma one after the other and check the GA4 settings.

Multiple GA and UA properties separated by a comma

Ready to Track Conversions with WooCommerce Google Analytics Integration?

For WooCommerce store owners, it’s crucial to keep a close eye on tracking your user’s behavior and monitoring eCommerce conversions.

You can do that with Google Analytics.

Google Analytics will tell you the performance of your store - sales, user activities, abandonment, and almost anything you want to know.

But first, you need to establish the WooCommerce Google Analytics integration in your store.

FunnelKit lets you achieve that in a few minutes. Not just that, it also lets you build beautiful sales funnels that enable you to boost conversions in your store.

Furthermore, FunnelKit is compatible with all the iterations of Google Analytics, i.e., Universal and the latest GA4 that lets you track event-based conversions in your WooCommerce store.

It also has site-wide event tracking that doesn’t require you to install any extra plugins on your WordPress website.

So what you’re waiting for?

Here are some additional resources for you:

To get conversion tips and tricks, you can subscribe to our YouTube channel or follow our Facebook group.

Author: Editorial Team
The Editorial Team at FunnelKit (formerly WooFunnels) is a passionate group of writers and copy editors. We create well-researched posts on topics such as WordPress automation, sales funnels, online course creation, and more. We aim to deliver content that is interesting and actionable.