Adding Google Analytics to Your Wix Site
3 min
Google Analytics allows you to track information including the number of visitors and page views, where visitors come from, how long they stay, what keywords they are using to find your site, and more!
Important:
Google Analytics has upgraded to version 4 (GA4). This change introduced a new measurement ID in the format G-XXXXXXXXXX. The new format is not currently supported by Wix, but we are working to make this feature available in the near future. In the meantime, you can follow the instructions below to integrate Google Analytics using a Universal Analytics code.
Note:
To use this feature you must have a Premium site with a connected domain.
Step 1 | Retrieve your Google Analytics code:
- Sign in to your Google Analytics account.
- Click the Admin icon at the bottom left of the page.

- Click Create Property.

- Enter a property name.

- Click Show advanced options.

- Toggle Create a Universal Analytics property.

- Enter your website URL, including www.

- Select Create a Universal Analytics property only.

- Click Next.
- Fill out your business information.
- At the top left corner of the next page, copy your tracking ID.
- It will be in the format: UA-123456789-0
Step 2 | Add your Google Analytics code to your Wix site:
- On the top right of this page, click Connect Google Analytics.
- In the popup window, paste your code into the text field.
Note: Make sure that there are no extra spaces before the code. - Select the IP Anonymization checkbox to ensure that Google does not save your site visitors' IP addresses.
- Click Save.
Tip:
It may take up to one week before you see statistics in your Google Analytics account.
Important:
By using this service, you are engaging directly with a third-party service provider. We recommend reviewing the service provider's Privacy Policy and Terms of Use prior to your use of such third-party service. You acknowledge that we are not liable for any loss or damage resulting from your use of such third-party service, including any liability arising from any personal data exchanged between you and such third-party.