Do you want a quick and easy way to establish WooCommerce Google Analytics integration?
Connecting Google Analytics to your WooCommerce store lets you easily track the performance and monitor each conversion happening in your online store.
You get all kinds of insights through eCommerce tracking using Google Analytics.
From the top-selling product to the revenue you’re generating, tracking cart abandonment, new leads, and more.
In this post, we’ll guide how you can do all this by integrating Google Analytics with your WooCommerce store and enabling event tracking on your store.
Contents
Google Analytics is a powerful tool that tracks and reports website traffic as well as other important metrics, useful to help grow your business.
Here’s how WooCommerce Google Analytics integration assists you:
That’s why you must connect your WooCommerce store to Google Analytics for effective data tracking.
Google Analytics currently has two types of properties:
Google has recently announced that it’ll discontinue its UA version by July 2023. GA4 will only be the sole option for tracking analytics as it’s much more powerful and accurate than UA.
However, we’ll help you track conversions for both UA and GA4 versions in this post.
To connect WooCommerce with Google Analytics, you need FunnelKit’s Funnel Builder.
It not only lets you set up highly-optimized store checkouts, opt-in pages, upsell offers, etc. but it also offers deep integration with Google Analytics.
To integrate Google Analytics with your WooCommerce store, you don’t need an extra plugin like WooCommerce Google Analytics to track various events.
Instead, FunnelKit takes care of all the conversion tracking on your store and visualizes them on Google Analytics.
Installation
To install the FunnelKit Funnel Builder, go to your WordPress dashboard.
Then, navigate to Plugins > Add New.
Search for FunnelKit Funnel Builder and hit the ‘Install Now’ button.
Please note that FunnelKit’s Lite version is absolutely free to use.
Now Funnel Builder will get installed on your website.
Once done, hit the 'Activate' button to start using the plugin.
Well done! The FunnelKit's Funnel Builder is now installed and activated on your website.
See the list of events that you can track via WooCommerce Google Analytics integration:
Common GA events
FunnelKit specific events
FunnelKit has the ability to track site-wide events as well as each step in your sales funnels activated on your website.
FunnelKit is compatible with both the UA and GA4 integration.
You need the Analytics ID to set up WooCommerce Google Analytics integration.
Log in to your Google Analytics account by entering your Google suite credentials.
Once you’re logged in, go to 'Admin' on the bottom left menu of your screen.
From there, click on 'Property Settings'.
Here, you'll find your Universal Analytics ID under the Tracking ID.
Copy your UA ID from here.
If you don’t have GA4 property yet, you can set it up using this guide.
On your Google Analytics account, create a new GA4 property from your Admin dashboard:
Next, select the information about your business including the industry, size and the intention of using Google Analytics in the next step to create your Google Analytics 4 property.
Set up the data collection
Now you need to set up the platform for data collection. For that, choose a platform of “Web”.
Next, enter the URL of your WooCommerce store and the name of your stream.
It’ll successfully create your data stream.
Here you can see your Analytics 4 ID:
Copy the Google Analytics 4 Measurement ID.
Go to the 'Settings' section within FunnelKit’s Funnel Builder.
Under Google Analytics, paste the Analytics ID.
Check this option to enable the Google Analytics 4 property.
If you’re using Universal Analytics, then you don’t have to enable Google Analytics 4 option.
If you have multiple GA properties, you can enter them here one after the other separated by commas.
Furthermore, if you have both UA and GA4 properties, you can even enter them here one after the other separated by commas.
That’s it! You have successfully connected Google Analytics to your WooCommerce store.
Here, you can enable the events you want to track with FunnelKit.
Here, enable the events you want to track on your website with FunnelKit.
Site-wide events
Optin and Sales Page events
Checkout and Order Bump events
Purchase events
Enable custom funnel steps
Once done, click on the 'Save Changes' button to lock in all the changes made. This section answers your 'How do I track WooCommerce transactions in Google Analytics?' query.
Well done! This completes your WooCommerce Google Analytics integration.
Follow the method below on how to test the events on your WooCommerce store to check whether they are captured on Google Analytics.
Here we’ll be testing the events for both Universal Analytics and Google Analytics 4 properties:
Go to Google Tag Assistant and add the domain.
Enter the URL of your website and click on the ‘Connect’ button.
It’ll open up your website in a new tab.
Now, navigate to the pages in your store and the extension will show the events triggered in real time.
Click on 'Continue' and start testing the WooCommerce Google Analytics integration.
Let’s now navigate to our WooCommerce website from the previous tab opened in point 1.
Adding an item to the cart
These are the events that get captured under Google Analytics 4 - WooCommerce integration:
Click on the next tab to see events under UA property:
As you can see, it has started capturing the events for both UA and GA4 properties.
If you click on any of these blocks, you can see the detailed event:
Initiating the Checkout process and making a purchase
Next, we will start the checkout process and make a test purchase by going through the payment gateway.
These are the WooCommerce GA4 eCommerce tracking events that got triggered in the whole shopping process:
The next UA tab shows these triggered events including purchase transactions which means it's tracking each event in your WooCommerce store.
Furthermore, you can also see the data in real time from the Google Analytics dashboard.
Since all the events got captured, it means the events are successfully getting fired over Universal Analytics ID as well.
The data and reports for a particular day will get generated after 24-48 hours. You can view and analyze these metrics from there as well.
This means that events are successfully getting tracked for Google Analytics 4 as well as Universal Analytics property in your WooCommerce store.
This is how you can test and verify the Universal and Google Analytics 4 implementation and events firing/capturing on your WooCommerce store.
Here are some frequently asked questions from users regarding Google Analytics integration with WooCommerce.
1. Do I need Google Analytics with WooCommerce?
If you want to monitor traffic to your WooCommerce website, then you should integrate Google Analytics into your store. From there, you’ll be able to measure the page visits, store conversions, abandoned carts, and more.
2. Can you connect WordPress to Google Analytics?
Yes, you can connect your WordPress website to Google Analytics. All you need is one plugin - FunnelKit to establish this connection.
3. How do I connect Google Analytics to WooCommerce?
Connecting Google Analytics to WooCommerce is quite easy. Enter the Google Analytics ID into the FunnelKit dashboard and you’re good to go. You can follow this post for step-by-step instructions to set up WooCommerce Google Analytics integration.
4. Can I track events of both UA and GA4 iterations with FunnelKit?
Yes, you can track conversions of both UA and GA4 iterations with FunnelKit at the same time. Just enter both the UA and GA4 IDs separated by a comma one after the other and check the GA4 settings.
For WooCommerce store owners, it’s crucial to keep a close eye on tracking your user’s behavior and monitoring eCommerce conversions.
You can do that with Google Analytics.
Google Analytics will tell you the performance of your store - sales, user activities, abandonment, and almost anything you want to know.
But first, you need to establish the WooCommerce Google Analytics integration in your store.
FunnelKit lets you achieve that in a few minutes. Not just that, it also lets you build beautiful sales funnels that enable you to boost conversions in your store.
Furthermore, FunnelKit is compatible with all the iterations of Google Analytics, i.e., Universal and the latest GA4 that lets you track event-based conversions in your WooCommerce store.
It also has site-wide event tracking that doesn’t require you to install any extra plugins on your WordPress website.
So what you’re waiting for?
Here are some additional resources for you:
To get conversion tips and tricks, you can subscribe to our YouTube channel or follow our Facebook group.