> For the complete documentation index, see [llms.txt](https://guides.mangoapps.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.mangoapps.com/integrations-guide/analytics/integration-with-google-analytics-ga4.md).

# Integration with Google Analytics (GA4)

### Overview

MangoApps supports Google Analytics 4 (GA4). To enable analytics tracking, you only need to create a GA4 property and provide the Measurement ID (G-XXXXXXXX) within MangoApps.

<figure><img src="https://1627138357-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjKbJ2ssjhlUZRcGOXW%2Fuploads%2FoGPxhYRxlSacscUx7CuJ%2FLogo_Google_Analytics.png?alt=media&amp;token=13b227ef-0688-4f8e-ae5d-c124678f25c3" alt="" width="375"><figcaption></figcaption></figure>

***

### Prerequisites

* A Google account&#x20;
* Access to Google Analytics
* A MangoApps admin account

***

### Step 1: Create a Google Analytics Account

1\. Navigate to <https://analytics.google.com&#x20>;

2\. Sign in with your Google account&#x20;

3\. Click 'Start measuring' and follow the prompts to create an account

<figure><img src="https://1627138357-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjKbJ2ssjhlUZRcGOXW%2Fuploads%2Fc8pQ44DhddU9D7CcaWaq%2F29-04-2026-11-51-13.png?alt=media&amp;token=aafc34af-08da-473a-8416-eba93cae09a4" alt="" width="563"><figcaption></figcaption></figure>

***

### Step 2: Create a GA4 Property

1\. In Google Analytics, click 'Admin'&#x20;

2\. Under 'Account', click 'Create Property'&#x20;

<figure><img src="https://1627138357-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjKbJ2ssjhlUZRcGOXW%2Fuploads%2Fm3VoM7fBnD92QWo4HiKF%2F29-04-2026-12-40-12.png?alt=media&amp;token=0b533f28-c96a-4d52-834a-739cbc2b05b1" alt="" width="563"><figcaption></figcaption></figure>

3\. Enter: - Property Name - Time Zone - Business Information&#x20;

4\. Click 'Next' and complete setup

***

### Step 3: Create a Web Data Stream

1\. Select 'Web' as the platform&#x20;

<figure><img src="https://1627138357-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjKbJ2ssjhlUZRcGOXW%2Fuploads%2Fx0V73YRLC5wupCmF3OuA%2F29-04-2026-12-44-38.png?alt=media&amp;token=e7d780cf-137b-48a5-9d66-d9dea17e6920" alt="" width="563"><figcaption></figcaption></figure>

2\. Enter your website URL and a stream name&#x20;

<figure><img src="https://1627138357-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjKbJ2ssjhlUZRcGOXW%2Fuploads%2FGMsMziy5rdcrYJScRsJl%2F29-04-2026-12-47-19.png?alt=media&amp;token=180c2b93-5218-40d4-9afe-d63d90d77e10" alt="" width="563"><figcaption></figcaption></figure>

3\. Ensure 'Enhanced Measurement' is enabled&#x20;

4\. Click 'Create and Continue'

***

### Step 4: Copy Measurement ID

1\. Go to Admin > Data collection and modification > Data Streams&#x20;

2\. Select your Web Data Stream&#x20;

3\. Copy the Measurement ID (format: G-XXXXXXXX)

<figure><img src="https://1627138357-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjKbJ2ssjhlUZRcGOXW%2Fuploads%2Fh3Y1bdGGGTsonUFh74Nw%2F29-04-2026-12-56-09.png?alt=media&amp;token=f9113de8-4aee-41e6-9d30-c8c8ba045389" alt=""><figcaption></figcaption></figure>

***

### Step 5: Configure in MangoApps

1\. Log into MangoApps as an administrator&#x20;

2\. Navigate to Analytics settings (go to admin portal > built in integrations > select “setup” under ”Google Analytics”&#x20;

<figure><img src="https://1627138357-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjKbJ2ssjhlUZRcGOXW%2Fuploads%2FcINI9XY0ESq3pGixBecQ%2F29-04-2026-01-04-57.png?alt=media&amp;token=d6df7d45-8e69-4272-862d-978d3f915a54" alt="" width="563"><figcaption></figcaption></figure>

3\. Enable Google Analytics &#x20;

4\. Paste the Measurement ID into the Google Analytics field

<figure><img src="https://1627138357-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjKbJ2ssjhlUZRcGOXW%2Fuploads%2Fe4HKnae7zL4b6aMBCwh3%2F29-04-2026-01-07-11.png?alt=media&amp;token=654baae5-2a6b-4da7-90bd-cc943fd80aa7" alt="" width="563"><figcaption></figcaption></figure>

5\. Save changes

***

### Step 6: Verify Tracking

1\. Return to Google Analytics&#x20;

2\. Go to Reports > Realtime Overview

3\. Visit your MangoApps site and confirm the activity is reflected in Google Analytics within 30 minutes.

<figure><img src="https://1627138357-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjKbJ2ssjhlUZRcGOXW%2Fuploads%2Fd3MIHAK2LeVIQogkS5O0%2F29-04-2026-01-09-26.png?alt=media&amp;token=e06784a2-3343-4206-bd7c-af99cd555f55" alt="" width="563"><figcaption></figcaption></figure>

***

### Important Notes

* Only GA4 Measurement IDs (G-XXXXXXXX) are supported&#x20;
* Universal Analytics (UA-XXXXX) is no longer supported
* No additional scripts or configuration are required within MangoApps
* Advanced tracking may require Google Tag Manager or custom event configuration
