How to Set Up Google Analytics 4 eCommerce Tracking in WordPress

Google Analytics eCommerce Tracking Tutorial [WordPress]

Would you like to set up Google Analytics eCommerce tracking for your online store?

Setting up Google Analytics 4 eCommerce tracking on your website will let you gather and analyze super useful data like user behavior and revenue.

With eCommerce tracking, you’ll be able to monitor things like the number of purchases and revenue your online store generates, product views and product performance stats, user engagement stats, and many more valuable eCommerce insights.

In this article, we’ll show you how to easily and quickly set up eCommerce tracking in Google Analytics and WordPress without using Google Tag Manager! We’ll also take a look at a few of the eCommerce reports you’ll be able to use to grow your business.

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

Start Tracking eCommerce Performance Today!

What is Google Analytics eCommerce Tracking?

Google Analytics eCommerce tracking is an advanced tracking feature of Google Analytics that gives you access to a lot of data about what your visitors are doing in your online store. Google Analytics 4 can track many eCommerce metrics, such as overall revenue, number of purchases, average order value, add-to-cart events, and more.

Here are a few benefits of tracking eCommerce events in Google Analytics:

  • Track the pageviews and performance of your products.
  • Track your sales and revenue.
  • Optimize your conversion funnel to boost sales.
  • Get important Key Performance Indicators (KPIs) that are vital to your business, such as average order value, eCommerce conversion rate, cart-to-view rate, and more.
  • Make data-driven decisions to generate more sales and revenue from your eCommerce store’s website traffic.

Video Tutorial

Tutorial: Google Analytics eCommerce Tracking

In this tutorial, we’ll show you how to quickly and easily set up eCommerce tracking on WordPress without having to code or use or Google Tag Manager. To do that, we’ll use MonstserInsights.

MonsterInsights is the best Google Analytics plugin for WordPress. It allows you to easily connect your WordPress site with Google Analytics with a couple of simple clicks, so you can view all the data that matters most right in your WordPress dashboard.

MonsterInsights Home Dashboard

Plus, with the click of a button, you can set up sophisticated tracking features like event tracking, revenue tracking, form tracking, custom dimension tracking, outbound link tracking, real-time reports, and much more.

For eCommerce tracking, MonsterInsights integrates directly with:

  • WooCommerce
  • Easy Digital Downloads
  • GiveWP
  • Charitable
  • MemberPress
  • LifterLMS
  • Restrict Content Pro
  • MemberMouse
  • WishlistMember

Without MonsterInsights, you’ll either need a developer or Google Tag Manager (or both) to set up eCommerce tracking in Google Analytics 4.

Here’s how to get started:

Step 1: Install MonsterInsights

If you haven’t installed MonsterInsights yet, you’ll need to grab a license at the Pro level or above, install it, and authenticate it with your Google Analytics account.

To start, download the ZIP files from your account area under the Downloads tab.

download monsterinsights

Next, upload the plugin to your WordPress website. You can do that by going to Plugins » Add New » Upload Plugins in your WordPress admin and clicking the Install Now button.

upload plugin in wordpress

After that, click the Activate Plugin button.

activate monsterinsights

Next, we’ll make sure you’re signed into the correct Google Analytics account.

Step 2: Sign In to Google

Now, you need to log in or sign up for a Google account.

To get started, open the Google Analytics website and click the Sign in to Analytics link or the Start for free button in the top right corner of the page if you don’t have an account yet.

Sign in to Google Analytics

Next, you can log in to your existing Google account if you have one, or click the Create account link to create a new Google account.

Sign in to Google Analytics 2024

Step 3: Create a Google Analytics Property

Now that you’ve signed in to your Google account, you’ll either see your Google Analytics account or you’ll be able to click the Start measuring button to get one set up.

click start measuring

If you need to set up your account, enter the Account name for your Google Analytics account. You’ll also see different data-sharing settings — make sure you check all the boxes and then click Next.

GA create an account

Now, enter the property details of your website. Start by entering a name and selecting a reporting time zone and currency. Click Next.

GA4 setup step 1

Choose your industry category and your business size, then click Next.

GA4 setup step 2

Finally, choose your business objectives. We suggest choosing “Get baseline reports” to populate your account with all of the Google Analytics reports.

Google Analytics setup step 3

Click Create.

That’s it! You’re now signed up for Google Analytics, and you have a property ready to go. Next, we’ll head back to WordPress to connect to MonsterInsights.

Note: You do not need to proceed to the create stream step—MonsterInsights will do that for you!

Step 4: Set up MonsterInsights

Connecting MonsterInsights with Google Analytics is simple! Just head back to WordPress and follow the steps in the onboarding wizard:

For a full tutorial on setting up MonsterInsights and connecting it with Google Analytics, check out our guide on how to properly set up Google Analytics and MonsterInsights.

Step 5: Install the eCommerce Addon

Finally, go to Insights » Addons and click Download & Activate in the eCommerce addon box.

MonsterInsights - Install and activate the eCommerce addon

That’s it! You have eCommerce tracking all set up and ready to go. MonsterInsights will automatically detect the eCommerce platform you’re using, like WooCommerce, on the Settings » eComemerce page.

eCommerce Settings in MonsterInsights

Step 6: Mark Purchases as Key Events

There’s a handful of reports inside the MonsterInsights dashboard that include a Conversion Rate metric. Your conversion rate is calculated based on how many of your visitors complete a conversion (key event). So, we need to tell Google Analytics that we want purchases to be considered a conversion (key event).

To do that, open Google Analytics and head the the Admin cog, then click on Key events in the Data display menu:

edit key events ga4

Next, find the key event called purchase and click the toggle to mark it as a key event:

mark event as key event ga4

That’s it! You’re all set up.

Where to Find Google Analytics eCommerce Reports

Once you’ve completed the setup, MonsterInsights will begin to gather data for your eCommerce site.

Best of all, it’ll bring your most important eCommerce metrics right inside your WordPress site dashboard.

To view your eCommerce stats, visit Insights » Reports from your dashboard and then click the eCommerce » Overview report.

MonsterInsights eCommerce Report - GA4

In this report, you can see your store’s total transactions, conversion rate, revenue, and average order value. You can also see your top-selling products.

top-products-woocommerce-google-analytics

As you scroll down the page, you’ll see your store’s top referral conversion sources. These are traffic sources that send customers to your website.

Top Conversion Sources report in MonsterInsights

Finally, you’ll be able to see more transaction data, like total products added and removed from shopping carts, percentage of new customers, and percentage of abandoned checkouts.

GA4 Ecommerce Metrics

If you want to see more detail, you can click the View Report button at the end of the products and conversion sources reports. Clicking on the button will take you to your Google Analytics 4 property, where you can explore your reports.

Next, open the eCommerce » Coupons report. If you use coupon codes in your store, you’ll find data on how those are used here.

MonsterInsights Coupons Report

Finally, head to the eCommerce » Funnel report. This super helpful report will show you the steps of your purchase funnel and how your users navigate it. Where are they dropping out the most often? Use this data to help you create a better sales funnel.

MonsterInsights eCommerce Funnel Report

That’s not all! You’ll also find some truly valuable data in other MonsterInsights reports, like the Traffic overview:

MonsterInsights Traffic Overview

More Google Analytics 4 eCommerce Reports

To view your eCommerce overview report in Google Analytics 4, navigate to Monetization » Overview. Here you can see your revenue trend by day, purchases by day, purchases by item name, purchases by item list, and more.

Monetization Overview

To view Google Analytics eCommerce sales (purchases) and revenue data organized by channel, navigate to Acquisition » Traffic acquisition:

Traffic acquisition report in GA4

Then, scroll to the right in the table to find Conversions and Total Revenue. Click the All Events drop-down arrow under Conversions and select purchase:

Purchase Events by Channel Report in GA4

Now, the table shows total purchases and revenue by traffic channel.

Purchases and Revenue by Channel in GA4

That’s it!

Related: 9 Top eCommerce Metrics & KPIs to Track in Google Analytics 4

Google Analytics Ecommerce Tracking FAQ

Here are some questions that are commonly asked by users about eCommerce analytics tracking in Google Analytics.

1. Why Do You Need eCommerce Tracking?

eCommerce tracking helps you find out the performance of your product pages and your entire online store. It tracks your sales and revenue, along with other metrics like your most popular products.

Through eCommerce tracking, you can optimize your store to maximize sales and use the data to make better decisions.

2. Is there Enhanced eCommerce in Google Analytics 4?

No. Google Analytics 4 includes all reports and metrics by default. There are no extra enhanced eCommerce tracking Google Analytics reports (like the shopping behavior report, product list report, or sales performance report you were used to in Universal Analytics, for example) to turn on for eCommerce tracking.

3. Why doesn’t Google Analytics 4 include all the same eCommerce reports as Universal Analytics?

Instead of including all of the conversion reports you could find in Universal Analytics (such as funnels), Google Analytics 4 includes a much more powerful report builder, where you can build your own custom reports and custom funnels.

4. Does MonsterInsights set up eCommerce tracking for the whole checkout process?

Yes! Once you set up tracking, you’ll be able to build a report that tracks shoppers across your checkout funnel. To learn how to build that report, check out How to Track Shopping Cart Abandonment with Google Analytics.

5. Can I track my eCommerce marketing campaigns with MonsterInsights?

Yes! To learn about marketing campaign tracking, check out How to Set Up Marketing Campaign Tracking in Google Analytics (In 2 Easy Steps).

That’s it!

You now know how to set up eCommerce tracking in Google Analytics and can easily track the performance of your eCommerce business.

Start Tracking eCommerce Performance Today!

Thanks to MonsterInsights, you don’t need to perform any manual configuration, as you would need to in Google Tag Manager. The plugin takes care of everything and automatically tracks your eCommerce store’s sales and revenue.

We hope you liked our guide on how to set up Google Analytics eCommerce tracking in WordPress. We think you might also like to check out:

25 Crucial eCommerce Growth Strategies
eCommerce Customer Journey Analytics: WordPress Guide
11 WooCommerce SEO Tips to Increase Search Rankings Today

Finally, don’t forget to follow us on YouTube for more helpful reviews, Google Analytics tips, and tutorials.

Want to Try MonsterInsights for Free?

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

Comments

  1. Thanks for this informative article; one question! Does WooCommerce Conversion Tracking and Google Analytics Enhanced eCommerce Tracking work for websites with multi-step checkout?

    1. Hey Jitin – In general, yes! If you’re going from a cart page to a checkout page to a conversion page, Google Analytics can track that funnel.

  2. Does MonsterInsights use dataLayer tracking or the Google Measurement Protocol to send in transactions.

    1. Hi Edwin,
      MonsterInsights uses the Measurement Protocol for sending transactions, as it’s more reliable.

    1. Hey Tzvi! Unfortunately the eCommerce addon does not work with amounts submitted via a form at this time.

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.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.