How to setup Google Analytics on WooCommerce? (Step by Step)

WooCommerce
How to setup Google Analytics on WooCommerce? (Step by Step)

After reading this article, you’ll have a better understanding of how to use the Google Analytics plugin with your WooCommerce store.

You’ll notice that by using the WooCommerce Google Analytics plugin –  as opposed to installing Google Analytics manually – you’ll have access to a lot of automatic features that will make your life much easier. Features including price calculations, cart tracking, and more!

We do realize that some of our readers are more visual learners, which is why we’ve created a tutorial video for your convenience!

The WooCommerce Google Analytics Plugin: Benefits

When you first start out with a store on your WordPress website, it can be tempting to follow your gut. You’ve got a product you feel your potential customers want, sales are starting to come in, everything seems hunky-dory.

But the key advantage of doing business online is the amount of data generated. Do you know your customers’ average order value? How about their shopping behavior? What about individual product performance week-on-week?

Herein lies the benefit to eCommerce over traditional retail: detailed insights! Metrics! Reports you can automatically generate and analyze to find weak spots in your business! But how are you going to aggregate all that eCommerce tracking data?

That’s where the WooCommerce Google Analytics plugin comes in. With the free version, you can answer the questions that have been bugging you about your online store, including

  • Search Insights: what are your customers searching for that brings them to your site?
  • Channel data: are your product page visitors coming from social networks, email, search, or ad clicks?
  • Understand your customers: are users who buy X product more likely to buy a complementary product than those who buy Y product?
  • Sales funnel: are customers removing certain items from carts? How can you improve your conversion rate and sales performance?

But that’s not all! If your store needs enhanced ecommerce tracking functionality, there’s also a Pro Version of the Google Analytics WooCommerce plugin, which adds features such as:

  • User ID tracking for more accurate user counts
  • Advanced eCommerce events tracking, such as coupon added/removed, cart page viewed, and so on.
  • Checkout behavior analysis reports
  • Refund and cancellation tracking

Both plugins make use of Universal Analytics to track basic user data, pageviews, sessions, and events, as well as Enhanced eCommerce Analytics for basic eCommerce data.

They’re an essential part of any online store owner’s arsenal, so let’s take a look at how you can put them to use on your WordPress site.

Step 1: Install the free WooCommerce Google Analytics plugin

The first step is to purchase the WooCommerce Google Analytics (Free) plugin from the WooCommerce site for $0.00.

Once you have downloaded the plugin,  you will be given a link to download the plugin zip file on the checkout page.

When you’ve downloaded the zip file, it’s time to install the plugin on your WooCommerce store.

From your WooCommerce Dashboard, click on Plugins and then Add New.

You should now be on a page that looks similar to the screenshot below.  Click on Upload Plugin and then Choose File, where you’ll be given the chance to open your WooCommerce Google Analytics (Free) zip file.  Click Install Now and then Active Plugin; see below for reference.

Once the above steps are complete, you’ll notice that from your WooCommerce Dashboard you will be able to click on WooCommerce Google Analytics Integration Settings, as shown in the below screenshot.

You should now be on a screen where you will be able to enter your Google Analytics ID.

Google Analytics

Google Analytics

Get the free plugin to setup Google Analytics on your store.

Get the plugin

Again, in order to navigate to this screen from your WooCommerce Dashboard, click on WooCommerce Google Analytics Integration Settings and then Google Analytics, as shown above.

Step 2: Fetching your Google Analytics ID

In order to fetch your Google Analytics ID, you will have to open a new tab on your web browser and visit analytics.google.com.

Once you are on the site, click on Create Account. The account setup process is fairly straightforward; below, you can see some of the settings that I have chosen for this example. If you are having a difficult time setting up your account be sure to check out the tutorial video!

Once your account has been created, you will be able to copy and paste the tracking ID as shown below:

It is worth noting that you will NOT have to do anything with the tracking code listed under “Global Site.”

Add your tracking code into the Google Analytics ID box on WooCommerce as shown below, and then be sure to click Save Changes.

Google Analytics

Google Analytics

Get the free plugin to setup Google Analytics on your store.

Get the plugin

Step 3: Finalising Ecommerce Settings

Before we leave analytics.google.com, there is one more thing that we need to do! Click on the gear in the bottom left handle corner of your screen and then select Ecommerce Settings. See the below screenshot for clarification:

Once you are under Ecommerce Settings, be sure to select Enable Ecommerce as well as Enhanced Ecommerce Reporting before clicking Save Changes.

Step 4: Configure the Google Analytics Plugin Settings

Once you are back on the Google Analytics Plugin Settings page from your WooCommerce Dashboard, you’ll want to set your domain main. This is optional but something that I personally find useful. Below you can also see the list of Tracking Options that I usually select and would recommend that you check as well if you are not already using a different 3rd party Google Analytics plugin.

In addition to the above Tracking Options, you’ll also want to check Enable Enhanced eCommerce since that is what we just finished setting up.

Step 5: Testing

In order to test everything to ensure that our installation and setup were successful you’ll want to navigate back to your Google Analytics account and click on Realtime and then Overview.

As you can see in the above screenshot, there is 1 active user on my site, which just happens to be a different tab that I have open on my desktop.

If you take the time to go through a test transaction, you will notice that Google Analytics tracks the customer activity which, you can view by clicking on Conversions, Ecommerce, and then Overview.

Please note you do need to wait up to 24 hours for a full readout of results from Google Analytics to show in your dashboard. After 24 hours, you will be able to see graphs and data such as average order price, number of transactions, and total revenue, as shown below.

You are now ready to start seeing the benefits of Google Analytics on your WooCommerce store!

We would highly recommend the WooCommerce Google Analytics (Free) Plugin as well as the WooCommerce Google Analytics Pro (Paid) Plugin, both of which can be downloaded from this article or from the description of our tutorial video!

Google Analytics

Google Analytics

Get the free plugin to setup Google Analytics on your store.

Get the plugin

Bonus: How to add a user to Google Analytics

You might need to provide your WooCommerce developer, SEO expert or friend access to your Google Analytics account!

Here’s how:

Go to your Google Analytics account and click Admin.

woocommerce-google-analytics-admin

Next, click Account User Management.

Then, click Add users in the top right-hand corner.

woocommerce-google-analytics-add-new-user

Finally, add the user’s email address and click Add.

woocommerce-google-analytics-add-new-user-permissions

All done!

Video Tutorial

Leave a reply

Comment policy: We love comments and appreciate the time that readers spend to share ideas and give feedback. However, all comments are manually moderated and those deemed to be spam or solely promotional will be deleted. Your email address will not be published. Required fields are marked*