RafflePress Logo
RafflePress announcement for review actions

New Update: Boost Social Proof with Reviews & Automation

Introducing RafflePress's new leave-a-review giveaway actions. Boost customer engagement and build trust effortlessly by incentivizing reviews in WordPress.
How to Add Google Analytics to WooCommerce

How to Add Google Analytics to WooCommerce

Written By: author image Stacey Corrin
author image Stacey Corrin
Stacey has been writing about WordPress and digital marketing for over 10 years and on other topics for much longer. Alongside this, she's fascinated with web design, user experience, and SEO.
     Reviewed By: John Turner
reviewer image John Turner
John Turner is the co-founder of RafflePress. He has over 20+ years of business and development experience and his plugins have been downloaded over 25 million times.

Do you want to learn how to add Google Analytics to WooCommerce?

By setting up Google Analytics, you can track your online store’s performance and gain valuable metrics and insights about your customers. You can learn where customers come from, which products sell the most, and more with eCommerce events tracking.

This article will show you how to add Google Analytics to WooCommerce easily.

Why Is Google Analytics Important?

Google offers many free tools through its analytics platform. Those tools allow you to view the analytics data needed to optimize and improve your WooCommerce store.

Additionally, having Google’s tracking ID on your website helps it crawl and index your site correctly. That way, you can see data such as pageviews that will help you boost sales and increase conversion rates.

Even though there are several ways to optimize your WordPress site, adding your Google Analytics tracking ID to WooCommerce is the fastest way to track the data and progress of your online store.

Why Do You Need Google Analytics Tracking for WooCommerce

If you don’t have any eCommerce data about your WooCommerce site or audience, you’ll be guessing what your target audience likes, which could be risky for your business. For example, you could advertise the wrong products or even promote deals your audience isn’t interested in.

You can avoid issues like that by tracking your WooCommerce store accurately with universal analytics from Google.

By setting up a WooCommerce Google Analytics integration, you’ll get the following tracking options and insights:

  • Top Products – Learn which products generate the most revenue and promote them more effectively.
  • Shopper Behavior – Discover how customers travel through your website, which pages they click, how often they click the checkout button, and more.
  • Checkout Behavior Analysis – Track cart abandonment so you can learn which areas of your checkout process need optimizing.
  • Campaign Performance – Use Google Analytics to track marketing campaigns and see which performs the best.
  • Referral Traffic – Learn which websites send the most traffic to your eCommerce store, enabling you to personalize the experience to that specific audience.
  • SEO Performance – Track the pages users find in search engines and use the data to optimize your WooCommerce store for better SEO.
  • Anonymize IP Addressesprovide more security and privacy to your customers by hiding their IP from the tracking info.

As you can see, there are many benefits to setting up Google Analytics on your WordPress website. Let’s dive in and learn how to set up WooCommerce Google Analytics for your online store.

How to Add Google Analytics to WooCommerce

There are many ways to connect WooCommerce to Google Analytics. However, the easiest method is to use MonsterInsights, the best WooCommerce Google Analytics plugin.

MonsterInsights integrates effortlessly with WooCommerce, allowing you to add Google Analytics tracking info with a few clicks. You won’t need to edit any code or hire a developer and can see real-time reports inside your WordPress admin.

To add Google Analytics to WooCommerce, follow these steps:

Note: If you’ve switched, you can follow this guide to add Google Analytics 4 to WordPress.

Step 1: Install and Activate MonsterInsights

The first step is to get the MonsterInsights plugin and install it on your WordPress website.

how to add google analytics to woocommerce with monsterinsights

As mentioned above, MonsterInsights is the best Google Analytics plugin for WordPress. It offers many features and reports you can view from your WordPress dashboard.

This plugin makes it super-easy to add new Google Analytics global site tags to your website without coding. Plus, you can set up advanced tracking, such as purchase transactions, coupon referrals, and more, which isn’t available on the default analytics platform.

To set up WooCommerce store tracking, you’ll need a MonsterInsights Pro plan. Then, install and activate the plugin on your WordPress website after downloading the plugin to your computer.

If you need help with this step, here’s a guide on how to install a WordPress plugin.

After installing the MonsterInsights plugin .zip file, go to Insights » Settings from your WordPress dashboard, and enter your license key.

Verify your MonsterInsights license key

Then, click the Verify button to confirm your license.

Step 2: Install MonsterInsights eCommerce Addon

Now that MonsterInsights is live on your website, it’s time to install and activate the MonsterInsights eCommerce addon. The functionality of this addon tracks your WooCommerce sales and website performance automatically.

To install the addon, go to Insights » Addons and find the eCommerce section. Then click Install Now to install and automatically activate the addon. 

Install the MonsterInsights eCommerce addon

It’s as simple as that, with no other steps required.

How to View WooCommerce Google Analytics Report in WordPress

One of the best things about MonsterInsights is seeing how your WooCommerce store is doing inside your WordPress dashboard. This powerful WooCommerce plugin pulls the most important reports from Google Analytics and shows them on your website.

That means you won’t need to go anywhere to view them. It’s also helpful if you’re new to Google Analytics and don’t know where to find the different reports.

To view the data about your online store, go to Insights » Reports » eCommerce from your WordPress dashboard.

monsterinsights ecommerce reports

On this page, you can see your site’s:

  • Conversion rate
  • Transactions
  • Average order value

You can also select a date range for the report and view a comparison to the last time period. As a result, it’s easy to see if your site’s performance has improved or worsened.

Now scroll to the following report, where you’ll see your site’s Top Products. These are the best-selling items in your store.

MonsterInsights top products report

Some other reports you can view include:

  • Top conversion sources
  • Total Add to Carts
  • Total Removed from Cart
  • Time to Purchase
  • Sessions to Purchase
MonsterInsights Add to Carts and Removed from Cart reports

As you can see, MonsterInsight’s smart reporting system instantly makes it super easy to get a snapshot of how your WooCommerce store is doing. So after setting up Google Analytics on your store, you’ll have an easier way to find areas where you can make improvements.

View Ecommerce Reports in Google Analytics 4

If you want to see your eCommerce report in Google Analytics, go to Monetization » Overview. On this screen, you can see:

  • Purchases by day
  • Revenue trends by day
  • Purchases by item name
  • Purchases by item list, and more.
GA4 monetization overview

To see eCommerce sales (purchases) and revenue data organized by channel in Google Analytics, head to Acquisition » Traffic acquisition.

GA4 traffic acquisition report

From there, scroll to the table on the right and find Conversions and Total Revenue. Now, click the All Events drop-down arrow under Conversions and click purchase.

GA4 purchase events by channel

After you’ve done that, the table will show total purchases and revenue by traffic channel.

GA4 purchases and revenue by traffic channel

Bonus Tip: An Easier Way to See Analytics

MonsterInsights is a powerful tool, but if you’re looking for an easier way to monitor your website’s performance — whether it’s an online store, a blog, or anything else, then OnePageGA might be just what you need.

It gathers the most critical data, like your website traffic, conversion rates, key engagement metrics, and top-performing pages, and presents it all on a single, easy-to-digest page. This lets you quickly see what’s working and what’s not without getting lost in complex reports.

OnePageGA also tracks key traffic acquisition data, showing you where your visitors are coming from so you can fine-tune your marketing efforts. Best of all, it works with any website platform, giving you the flexibility to use it no matter how your site is built.

Get started with a 14-day free trial of OnePageGA.

There you have it!

We hope this article helped you learn how to easily add Google Analytics to WooCommerce. You might also like these best eCommerce marketing tools to scale your store.

If you liked this article, please subscribe to our YouTube Channel for RafflePress video tutorials. You can also find us on Twitter and Facebook.

author avatar
Stacey Corrin Writer
Stacey has been writing about WordPress and digital marketing for over 10 years and on other topics for much longer. Alongside this, she's fascinated with web design, user experience, and SEO.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.

Let's Connect

Join Our Newsletter

Subscribe to get Free WordPress Tips and Resources

We do not sell or share your information with anyone.

Comments

Comments are closed.

Copyright © 2024 SeedProd LLC. RafflePress® is a registered trademark of SeedProd LLC

WPBeginner Verified Badge