If you are running a website for your business, Google Analytics is the best website analytics tool available to know how well it is performing. This is even truer if you run an eCommerce website, due to the advanced Google Analytics eCommerce tracking features that you can setup.
In this post, I will give a quick step-by-step guide on how you can setup Google Analytics eCommerce tracking as well as how to set up WooCommerce Google Analytics. WooCommerce is one of the best eCommerce WordPress plugins available, and by learning WooCommerce conversion tracking, you can improve your store’s conversion rates.
What Is Google Analytics eCommerce Tracking?
Setting up Google Analytics eCommerce tracking will let you see additional and vital information if you run an online store. You will be able to view things like total and average revenue, conversion rates, product revenues, cart and checkout conversion rates, abandonment rates and much more.
By having access to this additional data, you can optimise and improve your online store’s conversion rates, as well as understand where your sales are coming from (organic SEO, PPC, social media, referrals, etc). Knowing what channels are contributing most to your sales will help you make better decisions on where best to spend your marketing budget.
How To Setup Google Analytics eCommerce Tracking
Before we get started, I will assume that you already have Google Analytics correctly installed and setup on your website. If you are new to Google Analytics, I would advise you to take a read of our post Understanding Google Analytics For Beginners first.
It is also good to have knowledge of both event and goal tracking before you dive into Google Analytics eCommerce tracking, which you can read about in our post How To Setup Google Analytics Event Tracking.
To setup Google Analytics eCommerce Tracking, open up your Google Analytics profile and click on ‘Admin’ in the bottom of the left column. Under ‘View’ click ‘E-commerce Settings’ then configure the following:
- Under ‘Enable Ecommerce’ select ‘On’ and click the ‘Next Step’ button.
- Under ‘Enable Enhanced E-commerce Reporting’ select ‘On’ and click the ‘Submit’ button.
- Now, under ‘View’ click ‘View Settings’.
- Set the ‘Currency displayed as’ setting to match your WooCommerce currency.
- Click ‘Save’ to save your changes.
How To Setup WooCommerce Google Analytics
Once you have setup eCommerce tracking in Google Analytics, go to your WordPress dashboard and install the WooCommerce Google Analytics Integration plugin. This plugin will send the transaction data from WooCommerce across to Google Analytics.
Once the plugin is installed and activated, go to ‘WooCommerce – Settings – Integration – Google Analytics’ and configure the following:
- Enter your Google Analytics UA-ID.
- As you will already have the basic tracking code installed, leave the standard tracking setting disabled.
- Tick ‘Enable Universal Analytics’.
- Tick ‘Purchase Transactions’.
- Tick ‘Add to Cart Events’.
- Tick ‘Enable Enhanced eCommerce’.
- Save the plugin’s settings.
If you are using PayPal as a payment method within WooCommerce, you will also want to configure the PayPal account’s auto return settings. To do this, follow the steps below:
- Log into your PayPal account and go to ‘Profile – Profile & Settings – My Selling Tools – Website Preferences – Update’.
- On the Website Payment Preferences page, turn on ‘Auto Return’ and configure your Return URL as follows: http://yourdomain.com/checkout/order-received/?utm_nooverride=1
- Click ‘Save’.
By adding ?utm_nooverride=1 at the end of the URL, we are making sure that the transactions appear under the correct traffic source in Google Analytics, otherwise they will show as just coming from PayPal.
Checking Your WooCommerce Conversion Tracking
Once the steps above have been completed, I would advise logging out of your website and put a test purchase through the system to check the WooCommerce conversion tracking is working. You will need to wait 12-24 hours for the data to show up in Google Analytics.
To view the new WooCommerce conversion tracking data, log in to your Google Analytics profile and click on ‘Conversions – E-Commerce – Overview’ to get an overview of the sales data collected.
And that’s it, you have successfully setup Google Analytics eCommerce tracking for WooCommerce. Do let me know how you get on with WooCommerce Google Analytics, or whether you have any questions on WooCommerce conversion tracking, via the comment section below.