Overview
Google Analytics (GA) is a powerful website analytics and user behavior tracking tool provided by Google. Its main function is to help website owners, marketers, and developers gain deeper insights into how users interact with their websites, thereby optimizing user experience, improving conversion rates, and developing more effective marketing strategies.
getting Started
Configuration Requirements
Measurement ID (Assessment ID): See Assessment ID

Firebase App ID (optional)
API Secret: Can be created from Measurement Protocol API secrets.

Using Google Analytics 4
In the CDP backend, add a destination for the source, configure all parameters, set the status to enabled, and save.

Tracking Identifier
Website User Identification
_ga | The client ID, stored in a cookie, is used to anonymously identify a single browser instance and has a default validity period of 2 years. |
Mobile application identification
app_instance_id | Application Instance ID, uniquely identifies the application installation instance. |
session_id | Session ID, identifying the current application session |
event
Destinations can push up to 39 categories of event data from their websites to Google Analytics 4, primarily covering the following categories:
Media resources (search, share)
Online sales (add-to-cart, purchase)
Lead generation
Game (level_up)
The numbers in parentheses are example event types; for a detailed list of types, please refer to the GA4 recommended events .
For event parameter configuration, please refer to Analytics Event Parameters .
GA4 official documentation: https://developers.google.com/analytics/devguides/collection/ga4
