Thanks for choosing my Woocommerce Google Analytics Integration tutorial. In this tutorial I will show you how to correctly integrate Google Analytics with your Woocommerce online store.
Woocommerce Google Analytics integration
So you’ve started an online store, now you need to start measuring the performance of your store.
Google Analytics lets you measure all of the key metrics, including putting a dollar value on your various advertising channels.
There are a two ways of integrating Google Analytics with your website.
Using the Enhanced Ecommerce Analytics plugin
The best way to setup a Woocommerce Google Analytics integration is to use the Enhanced Ecommerce Analytics plugin.
This plugin does all the hard work for you in terms of setting up conversions and goal tracking. Otherwise, you’re going to have to invest a lot of time getting to grips with the harder parts of Google Analytics and conversion tracking.
To setup Google Analytics using this plugin, follow these steps:
- Download and install the Enhanced Ecommerce Analytics Plugin
- Activate the plugin
- Input your Google Analytics tracking code using the ‘Settings’ section of the app
- Save the code
- Check your analytics is displaying data within a 24 hour period
Using custom scripts
The other option for embedding Google Analytics on your Woocommerce store is to embed custom scripts. This involves creating your own Google Analytics tracking codes, either using Tag Manager or Universal Analytics then inserting this code on the head or body section of every page or product you wish to track.
To follow this method, I recommend these steps:
- Setup Google Tag Manager
- Install the ‘Header, Footer & Post Injections’ plugin
- Insert your script on every page, product or post you wish to track
- Check your script is firing correctly using Google Tag Manager