Google Analytics 4

How to Install Google Analytics 4 on Wix

Install Google Analytics 4 on your Wix site through the built-in Marketing Integrations panel. Requires a Premium plan and connected domain. About 5 minutes.

6 min read
Quick answer

Wix has a built-in Google Analytics integration, so there's no code to paste. In your Wix dashboard, go to Settings, open Marketing Integrations, find the Google Tag box (Wix merged Google Analytics into it), click Connect, and add your GA4 Measurement ID (the code starting with G-) as your Google tag ID. Two requirements: your site must be on a paid Premium plan and have a connected custom domain. Free Wix sites can't install third-party tracking.

Wix makes GA4 installation genuinely easy: there’s a built-in integration, no code, and the whole thing takes about 5 minutes. The catch comes before the first step, because Wix gates tracking behind two requirements that stop a lot of people.

This is the Wix-specific version of our general GA4 installation guide. On WordPress, Shopify, or Squarespace? We have dedicated guides for each.

The two requirements

Before anything else, check that your site clears both bars:

  1. A paid Premium plan. Free Wix sites can’t run third-party tracking codes at all.
  2. A connected custom domain. The integration doesn’t work on a free username.wixsite.com address; your site needs to live on its own domain.

If you’re missing either, that’s the actual first step. There’s no workaround that gets GA4 onto a free Wix site.

Before you start

You’ll need a GA4 property and its Measurement ID, the code starting with G-. Here’s where to find your Measurement ID. No GA4 property yet? The GA4 beginner’s guide covers creating one, then come back here.

Connect GA4 to Wix

1

Copy your Measurement ID

In Google Analytics, go to Admin > Data streams and click your web data stream. Your Measurement ID is in the top-right corner, formatted G-XXXXXXXXXX. Click the copy icon.

What a Measurement ID looks like
G-ABC123XYZ9
2

Open Marketing Integrations

Go to your Wix dashboard for the site (this is the admin area at wix.com, not the drag-and-drop editor). In the left menu, click Settings, scroll to the Advanced section, and click Marketing Integrations.

Wix dashboard Settings Marketing Integrations

Depending on your dashboard version, Marketing Integrations may sit under Marketing & SEO in the left menu instead. Both routes land in the same place.

You should see: a grid of integration boxes, including Google Tag, Google Tag Manager, Meta pixel, and others.

3

Connect your Google tag

Wix merged its Google Analytics integration into a single Google Tag box, which accepts your GA4 Measurement ID. In the Google Tag box, click Connect, then Add Google Tag, then Add Google Tag ID. Paste your G- Measurement ID and click Save.

Wix now adds the GA4 tag to every page of your site, including new pages you create later.

You should see: the Google Tag box showing as connected, with your tag ID listed.

4

Verify it's working

Open your website in a new tab (use a private window so ad blockers and cached pages don’t interfere) and click through a few pages. Then, in GA4, go to Reports > Realtime.

You should see: at least one active user within a minute or so.

The GA4 Realtime report showing one active user shortly after installation
GA4 › Reports › Realtime, moments after visiting your own site

Nothing showing? Confirm your plan and domain meet the two requirements, re-check the ID for typos, and make sure you visited the live site, not the editor preview. Standard reports take 24 to 48 hours to populate; Realtime is the only instant check.

What gets tracked automatically

With the tag in place, GA4’s Enhanced Measurement gives you a baseline without extra setup: page views, scrolls to the bottom of pages, outbound link clicks, file downloads, and site search where Wix uses standard URL parameters. For Wix Stores sites, Wix also sends e-commerce events through the integration; test an order before trusting the revenue numbers, and keep Wix’s own order reports as the source of truth for money.

What you don’t get automatically: which specific buttons people click, or form submissions as reliable, distinct events. Those come from deliberate setups later; the GA4 events guide covers your options when you’re ready.

Wix Analytics vs Google Analytics

Every Wix site also has Wix’s own analytics under Analytics in the dashboard, and the two will disagree: Wix measures on its side, GA4 measures in the browser where ad blockers and consent choices take a cut, and they define sessions differently.

Keep both, with different jobs. Wix Analytics answers “how’s the site doing this week” with zero setup. GA4 answers the marketing questions: which channels bring visitors who stick around, what your campaigns actually convert, and how content performs over time. Our tour of GA4’s reports shows where to find each answer.

Next steps

  1. Mark your important actions as key events, like contact form thank-you pages or purchases: key events setup.
  2. Tag your campaign links so email and social traffic gets credited correctly: UTM parameters guide.
  3. Decide what you’re measuring and why before building any dashboards: how to build a marketing measurement plan.

Frequently asked questions

Can I use Google Analytics on a free Wix site?
No. Wix only runs third-party tracking, including Google Analytics, on sites with a paid Premium plan and a connected custom domain. On a free wixsite.com address, the integration isn't available. You can still use Wix's own built-in analytics on any plan.
Where do I add the Google Analytics ID in Wix?
In your Wix dashboard (not the site editor), go to Settings, scroll to the Advanced section, and open Marketing Integrations. Depending on your dashboard version, it may also appear under Marketing & SEO. Find the Google Tag box (Wix folded Google Analytics into it), click Connect, and add your Measurement ID as the Google tag ID. Wix adds the tag to every page automatically.
Why is Wix Analytics showing different numbers than GA4?
They're independent systems that count differently. Wix Analytics measures on Wix's side with its own definitions, while GA4 runs in the visitor's browser, where ad blockers and cookie consent reduce what gets recorded, and applies its own session logic. A gap is normal. Pick one tool as your source of truth for trends; use GA4 when you need channel and campaign answers.
Does the Wix integration track e-commerce purchases in GA4?
Wix sends e-commerce events for Wix Stores, including purchases, through its Google Analytics integration. Coverage is decent but not something to blindly trust for revenue reporting: test a real or sandbox order, then compare against your Wix Stores order reports. Treat Wix as the source of truth for revenue and GA4 as the source of truth for where buyers came from.
Can I use Google Tag Manager on Wix instead?
Yes, Wix's Marketing Integrations panel includes a Google Tag Manager connection with the same Premium-plan-plus-domain requirement. Use GTM when you plan to run several tracking tools. Just don't connect GA4 both directly and through GTM, or every visit counts twice.
How long until data shows up?
The Realtime report in GA4 should show your own visit within a minute of connecting. Standard reports need 24 to 48 hours to start populating. If Realtime works, the installation is done.

Keep learning