How to setup Google Analytics on WooCommerce?
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 Google Analytics plugin as opposed to installing a Google Analytics account 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!
Without further delay, let’s get started.
Before reading any further be sure that you have downloaded the free WooCommerce Google Analytics plugin.
How to add Google Analytics to your WooCommerce store?
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, on the checkout page you will be given a link to download the plugin zip file.
Once you have 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 will 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.
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.
Step 3: Finishing up on analytics.google.com
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 was 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 its been 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!
How to add a user to Google Analytics?
You may need to provide your WooCommerce developer, SEO expert or friend to your Google Analytics account!
Here is how to do so:
Go to your Google Analytics account and click Admin.
Next, click Account User Management.
Then, click Add users in the top right hand corner.
Finally, add the user’s email address and click Add.