If your ecommerce platform supports Google Analytics 4, you should connect it as soon as possible to maximise the year-on-year comparisons you’ll have in your reports from July 2023 (when Universal Analytics stops tracking.) Install GA4 to the level it’s currently available, even if it doesn’t track as much as UA does right now!

Do not remove Universal Analytics from your shop. Track with both tools until UA is fully deactivated. You’ll see this referred to as “dual-tagging”.

Keep reading to find instructions for your ecommerce platform (or leave a comment if yours isn’t yet covered).


Shopify does not officially support GA4 yet with its built-in settings. However, there are a couple of options to start tracking data into GA4 straight away.

  1. Place the GA4 tracking code in your theme file & order confirmation page (Loves Data)
  2. Use Google Tag Manager (Intigress)
  3. Use Google Tag Manager + a paid Shopify app (Elevar)


Squarespace officially supports GA4 and you can insert your GA4 measurement ID into the same place you already have your UA ID.

My own investigations so far show that Squarespace is not tracking revenue into GA4, though it does count the number of transactions.

WooCommerce on WordPress

Like everything in WordPress, there are many different ways to add Google Analytics code to this platform. Our goal is to find one that supports dual-tagging, tracks ecommerce data and doesn’t involve touching too much code!

WooCommerce Google Analytics extension – This free extension is provided by WooCommerce but does not currently support dual-tagging without using a little bit of code. If you don’t mind adding a small hook function (or can ask a friendly developer), the instructions are at the bottom of the extension page.

MonsterInsights Pro – Probably the best solution if the one-off price is in your budget. The Pro version is needed to get ecommerce tracking.


Wix supports GA4 already but if you use the in-built GA setting, you need to replace your existing UA code. This is not ideal as I strongly recommend you track with both tools for as long as possible!

The alternative is to use Google Tag Manager to place your GA4 and UA tracking code on your Wix store. This is more technical but worth trying to be able to dual-tag.

My suggestion would be to use the built-in Google Analytics Wix Marketing Integration for UA and install GA4 using Google Tag Manager. This means you get reliable ecommerce data in UA reports without needing to do it yourself in GTM (and risking a mistake)!

  1. If you don’t already have UA connected to your Wix store, follow the official instructions here.
  2. Follow MeasureSchool’s instructions to create your Google Tag Manager account (but don’t install the Code Snippet anywhere just yet)
  3. Follow MeasureSchool’s instructions to create your GA4 account and link it to Google Tag Manager
  4. Connect your Google Tag Manager container to your Wix site

Online marketplaces


Does not currently support GA4. Install Universal Analytics instead for now.


Does not currently support GA4. Install Universal Analytics instead for now.

More platforms

Google is maintaining its own list of website platforms (Content Management Systems) that have in-built support for GA4.

Comments (1)

This is a pretty useful guide for connecting Google Analytics to a number of publishing services. And I’ve been looking for information in regards to integrating GA 4 into WooCommerce for a couple of websites, so this is a good start for me. Thank you for taking the time to put this blog post together.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.