How do I add Google Analytics to Wix?

You need a Wix Premium plan and a connected domain first. Then open Marketing Integrations in your site’s dashboard, click Connect under Google Tag, and paste your GA4 measurement ID (it starts with G-). Wix says that without a cookie banner, no data is sent to Google Analytics for visitors from countries that require consent.

Create a free accountFree for up to three sites. No card needed.

Updated 1 December 2026

Step by step

  1. Make sure your site has a Premium plan and a connected domain.
  2. In Google Analytics, create a GA4 property and a web data stream, and copy the measurement ID (G-…).
  3. In your Wix dashboard, open Marketing Integrations and click Connect under Google Tag.
  4. Paste the measurement ID and save.
  5. Turn on Wix’s cookie banner, so EU visitors can say yes.
  6. Visit your site in a private window, accept cookies, and check Realtime in Google Analytics. Data can take a while to appear in the reports.

Common mistakes

  • Added twice: Wix warns that adding Google Analytics both in Google Tag Manager and in Marketing Integrations can stop it from working. Keep one.
  • No banner: without consent, Google Analytics gets nothing from visitors in the EU.
  • Free Wix site: Google Analytics isn’t available on free sites.

Without a banner

If you would rather not depend on consent, a cookieless tool counts every visit. See the Okidoki Wix guide.

Ask your website. Get answers right away.

Free for 3 sites. No credit card, no cookies, no code to touch.

Or look around a live demo first, no account needed →