skip to Main Content

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:

  1. Download and install the Enhanced Ecommerce Analytics Plugin
  2. Activate the plugin
  3. Input your Google Analytics tracking code using the ‘Settings’ section of the app
  4. Save the code
  5. Check your analytics is displaying data within a 24 hour period

Woocommerce Google Analytics integration

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:

  1. Setup Google Tag Manager
  2. Install the ‘Header, Footer & Post Injections’ plugin
  3. Insert your script on every page, product or post you wish to track
  4. Check your script is firing correctly using Google Tag Manager

Woocommerce Google Analytics integration

You may also like

How To Build A Website – The Ultimate Guide

Woocommerce Single Page Checkout

The Woocommerce Membership Plugin

James Thomas

James is the owner of Square Internet and helps build, grow and scale WordPress based businesses for a living.