LORD OF THE WIX

Tracking Events on Your Wix Site with a Google Analytics Measurement ID

Lord Of The Wix · Oct 25, 2026

With Google Analytics, you can track information about people who visit your site. You can see information like the number of visitors to a page, where visitors come from, how long they stay, and what keywords they use to find your site.


Follow the steps in this article to get the measurement ID of your Google Analytics property and connect Google Analytics to your site.


Before you begin:


To use Google Analytics with your site, you must have a Premium site and a connected domain.


Important:



Step 1 | Get your Google Analytics 4 property ID


First, you need to create a Google Analytics 4 (GA4) property in your Google Analytics account and get its measurement ID.


To get your GA4 property ID:


  1. Sign in to your Google Analytics account.

  2. Click Admin at the bottom left.


Accessing the Admin section of your Google Analytics account

  1. Click + Create Property.

  2. Enter a property name.

  3. Choose your reporting time zone and currency from the drop-down menus.

  4. Click Next.

  5. Select your type of business from the Industry category drop-down.

  6. Select your business size.

  7. Choose the information you want to track under How do you intend to use Google Analytics with your business?.


Selecting your intended uses for your property in Google Analytics.

  1. Click Create.

  2. Choose Web under Choose a platform.

  3. Add your website URL and a stream name under Set up your web stream.

  4. Click the Settings icon.

  5. Click Show advanced settings under Page views.

  6. Deselect the Page changes based on browser history events checkbox.


Deselecting tracking changes based on browser history events.

  1. Disable the Site search toggle.

  2. Click Save.

  3. Click Create stream.

  4. Copy your Measurement ID.


Copying your measurement ID in Google Analytics

Step 2 | Add your Google Analytics Measurement ID to your Wix site


Add your Google Analytics measurement ID to Marketing Integrations in your dashboard to connect Google Analytics to your site.


To add your measurement ID:


  1. Go to Marketing Integrations in your site's dashboard.

  2. Click Connect under Google Tag.

    Note: Google Tag unifies Google Analytics, Google Ads and other Google products. Learn more about Google Tag Unification.


Connecting Google Tag in your site's dashboard

  1. Click Add Google Tag ID.

  2. Paste your Google Analytics Measurement ID in the pop-up.

    Note: Make sure that there are no extra spaces before the code.


Adding your measurement ID to your site.

  1. (Optional) Select the IP Anonymization checkbox if you want to hide your site visitors’ IP addresses from Google.

  2. Click Save.


Tip:


It may take some time before you see statistics in your Google Analytics account.


This article is credited to the Wix team - https://support.wix.com/ and we thank them for that!

More PostsLet's Talk

Need A Professional Website?
Contact Us Today!