Skip to content

Guide 201 · Setup · GA4 + Tag Manager

Install GA4 on Wix: paste the Measurement ID into Marketing Integrations, no code

Written November 12, 2026 · 6-minute read

A Wix site does not need a code snippet for GA4. Create the property in Google Analytics, set two stream options that stop Wix page views counting twice, then paste the Measurement ID into Marketing Integrations in the Wix dashboard. Wix places the tag from there.

Expected signal

After step 6, the Measurement ID is saved under Google Tag in Marketing Integrations, and a visit to the site shows in the GA4 Realtime report within minutes.

Download the reference: the Wix GA4 reference (JSON) (1065 bytes, MD5 629dbd0fde55ad4973ba305ad44bf462). The stream settings that must be off, with the report timing: 24 to 48 hours = 1 to 2 days.

What you need

  • A Wix site and access to its dashboard. The connection is made in the site dashboard, under Marketing Integrations.
  • A Google Analytics account. You create the GA4 property and the web data stream there first, then bring the Measurement ID to Wix.
  • The Measurement ID only. It starts with G-. You paste the ID on its own, not the full Google tag snippet.
  • No other GA4 install on the site. One install only. Remove any GA4 code added through Custom Code before you use Marketing Integrations.
  • A note on consent, if the site uses a cookie banner. With a banner, GA4 gathers data only after a visitor consents. Expect GA4 numbers to sit below the stats inside Wix at first.

The trace

  1. Create the GA4 property. In Google Analytics, open Admin, then Create Property. Enter a property name, choose the reporting time zone and currency, then click Next. Select the industry category, the business size, and how you intend to use Analytics, then click Create.
  2. Set up the web stream, with two settings off. Choose Web, enter the site URL and a stream name, then click the Settings icon. Under Page views, click Show advanced settings and deselect Page changes based on browser history events. Disable the Site search toggle, then click Save. Leaving the history setting on inflates page views on a Wix site.
  3. Create the stream and copy the ID. Click Create stream, then copy the Measurement ID. It starts with G-. Copy the ID alone, with nothing before or after it.
  4. Open Marketing Integrations in Wix. In the site dashboard, go to Marketing Integrations. Click Connect under Google Tag, then click Add Google Tag ID.
  5. Paste the ID and save. Paste the Measurement ID in the pop-up. Check that there are no extra spaces before or after the ID. If you want to hide visitor IP addresses from Google, select the optional IP Anonymization checkbox. Click Save.
  6. Check Realtime, then wait for the standard reports. Visit the site, then open the GA4 Realtime report and look for the visit. Wix notes that it may take some time before statistics appear in Google Analytics. Standard reports take 24 to 48 hours, which is 1 to 2 days. If the site uses a cookie banner, give consent on your test visit, or the visit sends no data.

Dead ends

DEAD END — PASTING THE FULL SNIPPET OR ADDING A SECOND INSTALL. Marketing Integrations takes the Measurement ID alone. Pasting the full Google tag snippet in that field does not work, and adding the tag again through Custom Code puts two tags on the site. Two tags double-count page views. Use one install: the ID in Marketing Integrations, and nothing else.

DEAD END — LEAVING PAGE CHANGES BASED ON BROWSER HISTORY EVENTS SELECTED. That stream setting stays on by default, and on a Wix site it counts extra page views as the page changes. Deselect it under Show advanced settings before you create the stream, and disable Site search at the same time.

DEAD END — EXTRA SPACES IN THE PASTED ID, OR CALLING THE INSTALL BROKEN TOO SOON. A space before or after the Measurement ID can stop the connection, so paste the ID clean and save again if Realtime stays empty. Lower numbers than Wix Analytics are also normal at first: with a cookie banner, visitors who do not consent send no data, and visitors from countries that require consent send no data without explicit consent.

End state

The GA4 property and web stream exist, with Page changes based on browser history events deselected and Site search disabled. The Measurement ID is saved under Google Tag in Marketing Integrations, with no second install on the site. Realtime shows visits within minutes, and the standard reports fill in over 24 to 48 hours.

Sources