If you want to add Google Analytics to Wix and track your website’s growth, then this post is for you.
In this complete guide, we’ll cover:
- Setting up a Google Analytics account
- Easily adding the GA4 tracking code to Wix
- How to check everything is working
- And much more
By the end, you’ll be able to see your Wix website’s metrics in Google Analytics and what it all means so you can focus on growing your business.
Let’s dive in.
How to Add Google Analytics to Wix [Step-by-Step]
This Wix and Google Analytics tutorial is broken into three stages:
- Creating the Google Analytics property
- Connecting Google Analytics to Wix
- Checking everything is working properly
Each stage is complete with images to guide you in every step.
Let’s start by creating a Google Analytics account and property, but you can skip this step if you already have this stage completed.
1. Create a Google Analytics Property
Now that Universal Analytics is obsolete, you’ll need a Google Analytics 4 property.
Go to Google Analytics and either create an account or log into an existing one.
![Create a new GA4 account or login](https://www.nichepursuits.com/wp-content/uploads/2023/12/1-login-ga-1024x479.png)
Next, fill in your Account name, choose your data sharing settings, and click Next. I’ve unchecked mine as they aren’t necessary:
![Create a new Google Analytics account](https://www.nichepursuits.com/wp-content/uploads/2023/12/2-create-ga-account.png)
Then fill in your Property name and click Next:
![Naming your GA4 property for Wix websites](https://www.nichepursuits.com/wp-content/uploads/2023/12/3-create-ga4-property.png)
Choose your Industry category and Business size, then click Next:
![](https://www.nichepursuits.com/wp-content/uploads/2023/12/4-ga-describe-business.png)
Then click on Web:
![Create a web stream for Wix websites](https://www.nichepursuits.com/wp-content/uploads/2023/12/5-ga-choose-web.png)
Setting up your web stream allows data to be passed from Wix to Google Analytics.
Add your Wesbite URL and Stream name, then click Create stream:
![Enhanced measurements for Wix](https://www.nichepursuits.com/wp-content/uploads/2023/12/6-ga-create-stream.png)
That’s it! Now you can move on to the next stage, which is adding your Measurement ID to your Wix account.
2. Add the Google Analytics code to Wix
Continuing from the last step, you’ll see your web stream details where you can access your Measurement ID, also known as your Google Analytics tracking ID:
![Google Analytics tracking ID for Wix](https://www.nichepursuits.com/wp-content/uploads/2023/12/7-copy-data-stream-1024x367.png)
You can also access your Measurement ID from the Home page by clicking on the Gear icon:
![](https://www.nichepursuits.com/wp-content/uploads/2023/12/8-access-web-stream.png)
Then Data streams:
![Access GA4 tracking code for Wix websites](https://www.nichepursuits.com/wp-content/uploads/2023/12/9-data-stream.png)
Then select the web stream you created:
![](https://www.nichepursuits.com/wp-content/uploads/2023/12/10-web0stream.png)
Copy your Measurement ID and head over to your Wix admin panel. On the left sidebar, scroll down, hover over Marketing & SEO, and click on Marketing Integration:
![Add Google Analytics to Wix](https://www.nichepursuits.com/wp-content/uploads/2023/12/11-wix-marketing-integrations.png)
Then choose the Google Analytics integration by clicking on the Connect button:
![Connect Google Analytics to Wix](https://www.nichepursuits.com/wp-content/uploads/2023/12/12-wix-google-analytics-connect-1024x456.png)
Click on the Add Google Analytics ID button:
![Add Google Analytics ID to Wix](https://www.nichepursuits.com/wp-content/uploads/2023/12/13-add-ga-id.png)
Paste your Measurement ID in the field, check the IP Anonymization box, and click Save:
![IP Anonymization for Wix sites](https://www.nichepursuits.com/wp-content/uploads/2023/12/14-wix-add-measurement-id.png)
You have now linked Google Analytics to Wix, but it’s recommended to check it’s working properly.
Let’s do that now in the next stage.
3. Confirm the connection between Google Analytics and Wix
Now, it can sometimes take up to 24 hours before you start seeing data in your Google Analytics account, so don’t panic if you don’t see anything.
If so, come back tomorrow and go through this stage again.
First, you can check by visiting your site in a new browser, and then checking your Real-time reports in GA4:
![Realtime users in Google Analytics](https://www.nichepursuits.com/wp-content/uploads/2023/12/16-ga-realtime-report.png)
Seeing a user showing in the Realtime report indicates the connection between Wix and GA4 is successful.
Another method to check the connection is working accurately is to check the Debug view.
To do that, you’ll need to install a free Chome extension, called Google Analytics Debugger:
![](https://www.nichepursuits.com/wp-content/uploads/2023/12/17-chrome-debugger-1024x199.png)
Then make sure the Debugger tool is switched on and browse through your Wix website, clicking on multiple pages:
![Google Analytics Debugger tool](https://www.nichepursuits.com/wp-content/uploads/2023/12/18-debugger-on.png)
Go to Google Analytics and click on the Gear icon, then DebugView:
![DebugView in Google Analytics](https://www.nichepursuits.com/wp-content/uploads/2023/12/19-ga4-debug.png)
From here, you’ll be able to see all the interactions you’ve made on your site. You can click on these interactions to get more details:
![Monitor website interactions in GA4](https://www.nichepursuits.com/wp-content/uploads/2023/12/20-debug-data.png)
That’s it!
The Google Analytics and Wix integration is now complete and you know it’s working properly.
Important GA4 Settings for Wix Websites
Next up is entirely optional, but it will improve the way Google Analytics 4 collects data and stores it in your account for Wix websites.
If you want to watch a tutorial for these settings, you can follow along in this video:
Configure enhanced measurement setting
The first setting to change in Google Analytics is to switch off “Page changes based on browser history events”:
![Uncheck browser history events on Wix sites](https://www.nichepursuits.com/wp-content/uploads/2023/12/21-enhanced-measurements-wix.png)
This is because leaving this setting on for Wix websites can create duplicate pageviews which will skew the accuracy of your reports.
To turn it off, go to your web stream and click on the Gear icon Enhanced measurement:
![](https://www.nichepursuits.com/wp-content/uploads/2023/12/22-change-enhanced-measurements.png)
Then click Show advanced settings under Page views:
![](https://www.nichepursuits.com/wp-content/uploads/2023/12/23-pageviews-advanced.png)
Uncheck the box for Page changes based on browser history events and click Save:
![](https://www.nichepursuits.com/wp-content/uploads/2023/12/24-check-history-events.png)
Increase data retention
When you create a new Google Analytics account and property, some data will only be retained for 2 months as default.
To extend this, you’ll need to adjust the Event data retention setting.
You can find this setting by clicking the gear icon and navigating to Property settings > Data collection and modification > Data retention.
On this page, change the drop-down from 2 months to 14 months and click Save:
![Increase data retention in GA4](https://www.nichepursuits.com/wp-content/uploads/2023/12/25-data-retention.png)
Add custom dimensions
Wix sends parameters that don’t show in the main reporting of Google Analytics unless you add them yourself. Therefore, if you want to see this data in your reports, you’ll need to add them as custom dimensions.
To add them, go to Property settings > Data display > Custom definitions:
![Custom definitions for Wix websites](https://www.nichepursuits.com/wp-content/uploads/2023/12/26-custom-definitions.png)
There are three custom dimensions to add:
- Event category
- Event action
- Event label
Click the Create custom dimension button and enter these settings to add the Event category dimension and click Save:
![Event category dimention for Wix](https://www.nichepursuits.com/wp-content/uploads/2023/12/28-custom-dimension-settings.png)
- Dimension name: Event category
- Scope: Event
- Description: Leave blank
- Event parameter: event_category
Repeat this step for all three dimensions, and you’re done.
Disable form tracking
The last setting to change in Google Analytics for Wix sites is to disable the default form tracking because it can cause false positives when people submit forms.
Note that this won’t stop leads from showing in reports when someone fills out a contact form or lead capture form.
To switch this off, go to your web stream and click on the Gear icon under Enhanced measurement:
![Disable form tracking on Wix websites](https://www.nichepursuits.com/wp-content/uploads/2023/12/22-change-enhanced-measurements-1.png)
Then switch off the setting called Form interactions:
![](https://www.nichepursuits.com/wp-content/uploads/2023/12/29-form-interactions.png)
Another setting you might want to disable is the site search feature as Google Analytics 4 doesn’t always record the data when someone searches for something on a Wix website.
Instead, there is a better way to set this up using Google Tag Manager, which you can find a tutorial for here.
Best Google Analytics Reports for Wix
If you’re wondering how to use Google Analytics with Wix and better understand user behavior, you’ll need to know which reports are the most important to monitor.
Here are a few to look out for and where to find them.
Traffic acquisition
If you want to find out which channels bring in the most website traffic, navigate to Reports > Acquisition > Traffic Acquisition to see a list of the channels your site gets traffic from:
![GA4 Traffic Aquisition](https://www.nichepursuits.com/wp-content/uploads/2023/12/30-traffic-aquisition-1024x444.png)
If you run an online store on the Wix platform, you can sort this range by Total revenue to see which traffic sources bring in the most income.
Purchase journey and abandonment rate
To get even more granular data about your e-commerce purchases, the purchase journey tells you where people enter and leave your site at different funnel stages.
You can see this data and the abandonment rates from the Monetization> Purchase journey:
![GA4 Purchase journey](https://www.nichepursuits.com/wp-content/uploads/2023/12/31-purchase-journey-1024x557.png)
Best-selling products
To see a list of your best-selling products, navigate to Monetization > E-commerce purchases:
![GA4 E-commerce purchases](https://www.nichepursuits.com/wp-content/uploads/2023/12/32-best-selling-products-1024x469.png)
Overall traffic
Keeping track of your overall traffic is highly recommended to achieve consistent growth with your Wix site.
You can find these stats from Acquisition > Overall:
![GA4 Overall traffic](https://www.nichepursuits.com/wp-content/uploads/2023/12/33-overall-traffic-1024x495.png)
Engagement rate
The engagement rate tells you the average amount of time people are engaging with your site. This engagement metric provides insights into user experience, and it’s helpful to find out where engagement is low so you can make improvements.
You can find this by navigating to Engagement > Overview:
![GA4 Engagement overview](https://www.nichepursuits.com/wp-content/uploads/2023/12/34-engagement-rate-1024x501.png)
You can also see the engagement time of specific pages under Engagement > Pages and screens:
![GA4 Pages and screens](https://www.nichepursuits.com/wp-content/uploads/2023/12/35-engagement-pages-1024x619.png)
Why Add Google Analytics to Wix?
With every Wix account, you get Wix analytics reports to help you track your website’s traffic and how you might make improvements.
For some Wix users, this might be enough. However, Google Analytics provides much more advanced features if you know how to set them up.
Furthermore, you’ll lose your Wix analytics data if you ever switch from Wix to another platform. So, it’s best to add Google Analytics anyways, just as a precaution.
Conclusion
When you add Google Analytics to Wix, you understand how your site is performing.
Not only that, but it gives you insights into what you can do to make improvements.
Clarity is key for consistent growth, and you achieve both when GA and Wix are connected properly.
What’s next? Check out our post on engagement metrics to hack your way to success.