How to Set Up Google Analytics for WooCommerce (the Right Way)

How to Set Up WooCommerce Google Analytics (the Right Way)

Are you looking for a quick and simple way to add Google Analytics to your WooCommerce store?

By setting up Google Analytics, you can track the performance of your online store. You can get insights about which products sell the most, how much revenue you’re making, where your customers are coming from, and lots more.

In this article, we’ll show you how to set up Google Analytics for WooCommerce the right way. So, let’s kick things off with…

Why Do you Need WooCommerce Google Analytics?

You might be wondering right now, why is Google Analytics important for your WooCommerce store? Well, if you want to plan campaigns and make business decisions to grow your revenue, you need data.

MonsterInsights is the best WordPress Analytics plugin. Get it for free!

Without any data, you’ll be guessing what your audience likes, which could be risky for your website. You could invest in advertising the wrong product or put your efforts into promoting deals that your customers might not like.

So, to avoid these issues and make the most use of your resources and time, it’s a good idea to track your WooCommerce store using Google Analytics.

Here are some insights you can get by setting up Analytics:

  • Top Performing Products – Get to know which products generate the most sale, so you can promote them more
  • Shopping Behavior – Understand how your customer’s journey, which product pages they view, how often do they click the checkout button, what payment process they select, and more
  • Reduce Abandon Carts – By tracking abandon carts and leave your website without checkout, you can plug the gaps in your WooCommerce store and boost conversions
  • Measure Campaign Performance – You can track each marketing campaign in Google Analytics and see which one performed better, so you can optimize other campaigns
  • Identify Top Referral Traffic Sources – Find out which websites send the most converting traffic to your website, so you can create a personalized experience for such users or perhaps strike a deal with the referral website

Now, are you ready to learn how to set up WooCommerce Google Analytics?

How to Add Google Analytics to WooCommerce?

There are several ways you can track your WooCommerce store in Google Analytics. But the easiest method is by using MonsterInsights.

It seamlessly integrates with WooCommerce and you can set up tracking with just a few clicks. You don’t have to edit any code or hire a developer.

And to get started, just follow these steps.

Step 1: Install and Activate MonsterInsights Plugin

MonsterInsights is the best WordPress plugin for Google Analytics. It offers loads of features and detailed reports inside your WordPress dashboard, so you can get data that matters for your business.

The plugin makes it very simple to add Google Analytics to your WordPress website without any coding. Besides that, you can set up advanced tracking that’s not available by default in Analytics.

monsterinsights woocommerce google analytics

To set up tracking for your WooCommerce store, you’ll have to signup MonsterInsights Pro plan. Once you’ve done that, login and go to your account area.

Then navigate to Downloads tab and click Download MonsterInsights to get the ZIP files for the plugin and save them on your computer.

download-MonsterInsights

Now go to your WordPress site and upload the plugin. You can do that by going to Plugins » Add New » Upload Plugin.

Next, click on Choose File and select the ZIP file where you saved them earlier. Then click Install Now.

Once the plugin installs, click Activate Plugin and you should see MonsterInsights (look for Insights) in your dashboard.

Now the last thing you’ll need to do is verify your license key in the plugin. You can find the key in your Account Area under the Downloads tab. Simply copy the license key.

MonsterInsights-License-Key

Now go to your WordPress dashboard and then click on Insights » Settings. Under the License Key option, paste the key and then click the Verify Key button.

monsterinsights-license-key-settings

Step 2: Install MonsterInsights eCommerce Addon

Now that MonsterInsights is ready to use on your website, the next thing to do is install and activate its eCommerce addon.

The addon automatically tracks your WooCommerce sales and overall website’s performance.

You can do that by going to Insights » Addons and then find your way to eCommerce. Click Install and then Activate to start using the addon.

ecommerce-addon-monsterinsights

Step 3: Enable Enhanced Ecommerce in Google Analytics

After activating the addon, the next thing you’ll have to do is enable Enhanced Ecommerce in Google Analytics for WooCommerce.

And you can do that by going logging in to your Google Analytics account. Next, select the property on which you want to configure Enhanced Ecommerce.

select property in GA

Now go to Admin and then navigate your way to Ecommerce Settings under the View column.

ecommerce settings GA

You’ll now see Enable Ecommerce option under Ecommerce set-up. Click or toggle the switch to turn it on.

Next, do the same to Enable Enhanced Ecommerce Reporting. If you want, you can even add checkout funnel steps if you want, but you can leave this option as it is and click Save once you’re done.

enable enhanced ecommerce

Step 4: Enable Enhanced Ecommerce in MonsterInsights

The last step in the process is to enable Enhanced Ecommerce in MonsterInsights as well.

And you can do that by going to your WordPress dashboard and then navigate to Insights » Settings » eCommerce.

Under eCommerce Tracking, you’ll see the option Use Enhanced eCommerce. Click on the switch to enable it.

enable enhanced ecommerce in monsterinsights

MonsterInsights will now automatically detect WooCommerce on your WordPress site. Do note that it could take a few hours for the plugin to start gathering data and show it in its reports.

And speaking reports, how can you view your eCommerce store’s performance?

View WooCommerce Google Analytics Reports in WordPress

The best thing about using MonsterInsights is that you can view how your WooCommerce store is doing inside your WordPress dashboard.

The plugin brings some of the most important reports from Google Analytics and displays them on your website, so you don’t have to go anywhere. This is especially helpful if you’re a beginner and don’t know how to view different Google Analytics reports or find data that matters.

To view stats about your online store, go to Insights » Reports » eCommerce.

ecommerce-report-overview

Right from the start, you can see your site’s conversion rate, transactions, revenue, and average order value for the date range selected.

It also shows a comparison between the last time period (for instance vs. Previous 30 Days), so you know if your store’s performance improved or went down.

And if you scroll down, the next report you’ll see is of Top Products. These are the best-selling items on your WooCommerce store. For each product, you can view its quantity, percentage of sales, and total revenue.

top-products-woocommerce

MonsterInsights also shows your Top Conversion Sources. These are websites where your customers visit your store and buy products. You can see how many people came to your site, their overall percentage, and the revenue they generated.

top-conversion-sources

And the last reports you’ll see are of Total Add to Carts and Total Removed from Cart. It helps you understand the shopping behavior and checkout behavior of your customers.

You can even see how long a visitor takes complete a transaction by looking at the Time to Purchase and Sessions to Purchase reports.

woocommerce-ga-ecommerce-report

View Ecommerce Reports in Google Analytics

While MonsterInsights makes it super easy to understand eCommerce reports, you can also view them in Google Analytics.

Simply go to your Analytics account and then navigate to Conversions » Ecommerce. Here you’ll find multiple reports that you can view. In the Overview, you can see the overall performance of your WooCommerce store.

GA ecommerce report woocommerce

You can also view the Shopping Behavior report to see your customer’s journey. It shows which pages they view and whether they abandoned carts.

shopping behavior report woocommerce

To get a better understanding of how your checkout process works, you can go through the Checkout Behavior report.

And if you want to see how well each product is doing in your store, then the Product Performance report can provide details about revenue and quantity ordered.

product performance

Similarly, you can go through other reports such as Sales Performance and Product List Performance to see how your eCommerce store is doing.

And if you want to check the performance of each marketing campaign, then go through the Marketing report.

That’s all, folks!

You can now easily track the performance of your WooCommerce store in Google Analytics. Using the data, you’ll know which products to promote more, how to create personalized marketing campaigns, and better understand your customers.

We hope that you liked our guide on how to set up Google Analytics for WooCommerce the right way. You can also go through our guide on WooCommerce conversion tracking.

Don’t forget to follow us on Twitter and Facebook for more Google Analytics tutorials and tips.

Want to Try MonsterInsights for Free?

Enter the URL of Your WordPress website to install MonsterInsights Lite.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.