---
title: "Google Analytics GA4 setup with your site"
slug: "google-analytics-new"
description: "GA4 is the 4th iteration of Google Analytics. It provides you with a Measurement ID instead of a Tracking ID."
tags: ["Integrations", "Google analytics"]
updated: 2025-12-17T10:08:44Z
published: 2026-01-31T17:30:01Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.document360.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Analytics (GA4)

**Google Analytics** helps you monitor your website’s performance by tracking metrics like conversions, traffic sources, bounce rates, and exit rates. **Google Analytics****(New)** integration in Document360 is supports only Google Analytics 4 (GA4).

> [!NOTE]
> ** NOTE
> 
> GA4 is the latest version of Google Analytics. It uses a **Measurement ID** (starting with `G-`) instead of the **Tracking ID** used in GA3 (starting with `UA-`).
> 
> GA3 - Tracking ID begins with the 'UA-' GA4 - Measurement ID starts with the 'G-'
> 
> To learn more, visit the [help article](https://support.google.com/analytics/answer/9539598).

---

## Integrating Document360 and **Google Analytics** (GA4)

You can integrate [Google Analytics (GA4)](https://support.google.com/analytics/answer/10089681?hl=en) with your Document360 knowledge base to track how users interact with your site, view popular articles, and analyze user locations. To get started, you’ll need:

- A **Google Analytics** account
- A **Measurement ID** (**Google Analytics** ID)

> [!NOTE]
> ** NOTE
> 
> You must have administrative access to your **Google Analytics** account to retrieve the Measurement ID.

1. Navigate to ****Connections**** (**) > **Integrations** in the left navigation bar****in the Knowledge base portal.
2. Select **Google Analytics****(New)** from the list of integrations and click **Add**.

The **Add new integration** panel will appear.
3. You can either configure with Basic configuration or Custom configuration.

**Basic configuration**: Configure a standard integration of **Google Analytics** with your Knowledge base.

To configure with Basic configuration:

**Custom configuration** - Configure an advanced integration of **Google Analytics**s with your Knowledge base by adding custom events in the snippet code.

To configure with Custom configuration:
  1. **Description**: Enter the desired description.
  2. **Google Analytics** **ID**: Type your **Google Analytics** ID.

> [!NOTE]
> ** NOTE
> 
> **Google Analytics** ID is the **Measurement ID** of your desired property in **Google Analytics** (GA4). The **Google Analytics** ID is a unique code snippet obtained from the **Google Analytics** application.
  1. **Description:** Enter the desired description.
  2. **Snippet code:** Type the desired snippet code.
4. You can also use the Code inclusion/exclusion conditions feature to run the snippet based on specific criteria such as IP address, Workspace, and Language.
5. After entering the required information, click **Add**to complete the setup.

![Integration options for Google Analytics in Document360, including configuration settings and ID.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Google%20analytics%20new%20setup.png)

---

## Obtaining **Google Analytics** ID (Measurement ID)

To obtain your Measurement ID:

1. From the **Google Analytics****account**, go to **Admin** (**) > **Property settings** > **Data streams**.
2. Click the desired data stream for which you need the Measurement ID.
3. In the **Web stream details** panel, locate the **Measurement ID** (begins with `G-`).
4. Copy the Measurement ID and paste it into the **Google Analytics ID** field in Document360.

> [!NOTE]
> ** NOTE
> 
> For more information, see [Google Analytics support article](https://support.google.com/analytics/answer/9539598#find-G-ID).

![Web stream details in Google Analytics showing measurement ID and stream URL.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/image-1751280164917.png)

After completing the **Google Analytics** integration setup in your Document360 knowledge base portal, you can track your knowledge base site performance and get visitor insights.

> [!NOTE]
> ** NOTE
> 
> You can integrate **Google Analytics** to track user insights like view counts, geolocation, device-wise metrics, behavioural flow, and more. For information on migration from GA3 to GA4, see [Google Analytics help](https://support.google.com/analytics/answer/10607999?hl=en&amp;ref_topic=10737980).

---

### Helpful links

- [**What is a Tracking ID?**](https://support.google.com/analytics/answer/7372977?hl=en)
- [**What is a Measurement ID?**](https://support.google.com/analytics/answer/7372977?hl=en)
- [**What is a Universal analytics property?**](https://support.google.com/analytics/answer/10220206?hl=en)
