How to connect Google Analytics

Learn how to add Google Analytics to your website

Updated over a week ago

Google Analytics helps to understand your website users and check the performance of your marketing, content, products, and more.

Before you begin

At the moment, there are two types of Google Analytics properties:

  1. Google Analytics 4 (Measurement ID: G-XXXXXXX) – recommended

  2. Universal Analytics (Tracking ID: UA-XXXXXX-X)

For now, Zyro supports both types of properties, but we highly recommend using Google Analytics 4, as the other will stop processing data on July 1, 2023 💡

Learn how to:

NOTE: For tracking scripts to work properly, make sure that a cookie banner is enabled on your website

Connect Google Analytics to your website

To connect Google Analytics to your website, you only need to know the Measurement ID of your Google Analytics 4 property.

Within the editor, open your website's integrations settings and find the Google Analytics field. Insert your Google Analytics Measurement ID there:

Save the changes, update your website and that's it! You should receive the first reports in 24 hours 🎉

Find your Measurement ID

  1. Sign in to your Google Analytics account.

  2. Click Admin in the bottom left.

  3. At the top of the Property column, select your property.

  4. In the Property column, click Data streams.

  5. Click the data stream for which you need the ID.

  6. The ID (G-XXXXXXX) appears in the top right.

Or follow this instruction by Google Analytics 💡

Create a new Google Analytics 4 property

1. In your Google Analytics account, open the Admin section in the bottom left, and click Create property:

2. Provide necessary details: property name, time zone, currency, and click Next:

3. Fill in your Business information and click Create:

4. For a platform to collect data from, select Web:

5. Insert your domain name and the name of your web stream. Customize the settings if needed and click Create stream:

NOTE: You'll get a screen asking you to insert your Google tag into your website; simply dismiss that window and find the measurement ID – that's all you need to know to connect Google Analytics to your website

6. You will see the Measurement ID on the right:

Did this answer your question?