Are you wondering how to track add to cart eCommerce events in Google Analytics and WordPress?
Tracking how many times your “Add to Cart” button gets clicked is an important step in learning how your visitors interact with your eCommerce site. What products are they the most interested in? How many people are adding items to their cart and following through with checkout?
You’ll be able to answer those questions and more when you track add to cart events in Google Analytics and WordPress. Let’s get started.
Google Analytics Ecommerce: The Basics
Before we dive into add to cart events, let’s quickly look at Ecommerce and Enhanced Ecommerce tracking in Google Analytics.
Out of the box, Google Analytics will track pageviews, visit duration, bounce rate, and other basic metrics. For many websites, this is all they need. For online stores, though, they would really benefit from some other tracking that’s specific to stores. That’s where Ecommerce and Enhanced Ecommerce come in.
Once you turn on Ecommerce, what will happen is Google Analytics will see that your website is a store, not just an informational site or blog. It’ll be able to track your products and sales. Now, you’ll be able to track things like which products are viewed the most, which products are bringing in the most revenue, how much visitors tend to spend when they arrive from different channels, and much more.
Enhanced Ecommerce goes a step beyond this and recognizes that your site has a cart page and an order completion page, and can give you valuable insight into how visitors are using your checkout flow.
So, if you don’t have Enhanced Ecommerce set up yet and you run an online store, it’s definitely worth it to get it going to get those awesome enhanced metrics, like add to cart events.
Track Add to Cart in WordPress & Google Analytics
In order to track add to cart events, you’ll need to set up Enhanced Ecommerce in Google Analytics. Without using a tool that will do this for you, it’s pretty complicated and involves coding and a developer.
To avoid doing that, you can simply use the ExactMetrics plugin. In this tutorial, we’re going to go over how to set up Enhanced Ecommerce on WordPress in just a couple clicks and zero coding.
Step 1: Install ExactMetrics
ExactMetrics is the most powerful Google Analytics plugin for WordPress, without the high costs. In addition to the enhanced ecommerce tracking we’re going to be setting up here, you’ll get a whole list of features that will help you grow your business with the help of analytics.
So to start, head to the Pricing page and get started with ExactMetrics at the Pro level. Once you complete checkout, download the plugin.
Next, upload it to your website.
Step 2: Add Your License Key and Connect to Google Analytics
Now that you have ExactMetrics installed, you can add your license key and connect your Google Analytics account. To get set up, click on ExactMetrics under your WordPress Dashboard and click the big green “Launch the wizard!” button.
Once you’re in the wizard, you’ll get to this page where you can add your license key and connect with Google Analytics:
After that, just keep following the setup prompts, answering questions about your business, until setup is complete.
Step 3: Enable Google Analytics eCommerce Tracking
In order to connect ExactMetrics to the Google Analytics eCommerce reports, you’ll need to turn it on in Google Analytics. To do that, head to the Admin area in Google Analytics and click on “Ecommerce Settings” in the right-hand “View” column.
Once there, toggle both buttons to the on position and click Done.
That’s it! You’ve got eCommerce enabled in Google Analytics.
Step 4: Install the ExactMetrics eCommerce Addon
Now, head to ExactMetrics » Addons in WordPress and install the eCommerce addon.
Next, head to Settings » eCommerce and toggle the switch to on.
If you’re a WooCommerce user, you’ll see WooCommerce get detected and tracked at this step.
Now that you have Enhanced Ecommerce set up in Google Analytics and ExactMetrics, you’ll start seeing great reports that give you an overview of your store’s health.
Where to Find Add to Cart in ExactMetrics
With ExactMetrics installed along with the eCommerce addon, you’ll now have access to the comprehensive eCommerce report. The report includes a bunch of helpful information about your store, including add to cart events! Let’s take a look.
When you navigate to your eCommerce tab in your Reports section, you’ll see your overview metrics and top products right at the top:
Scroll down just below the Top Products table to find your Add to Cart and Removed from Cart metrics:
Where to Find Add to Cart in Google Analytics
So now that you have Enhanced Ecommerce running, how can you view add to cart events in Google Analytics?
There are a couple different pages where you can find this metric. First, let’s look at the Shopping Behavior report.
To access this report, go to Conversions » Ecommerce » Shopping Behavior. Here, you can see how many sessions included an add to cart click.
This is a great report to use when you’re making website improvements. Where are people dropping out of your checkout flow at the highest rate? What might be causing users to drop out of your funnel at these different steps?
You can also see a cart metric in the Product Performance report. To access it, go to Conversions » Ecommerce » Product Performance.
In this report, you’ll see the Cart-to-Detail Rate for each product. This metric shows you how many times your product was added to a cart divided by how many times it was viewed overall. This is a really handy metric to use when you’re working on improving your product pages. If a product has a low cart-to-detail rate, look at the page and its content to figure out why people are interested in and looking at your product, but not buying it.
That’s it! We hope you found this Google Analytics Enhanced Ecommerce add to cart events tutorial helpful.
You might also like 16 Simple Ways to Boost Your Ecommerce Conversion Rate.