Prerequisites
Before setting up the Google Analytics integration, ensure you have:Getting Your Google Analytics Credentials
1. Measurement ID
Find Measurement ID
Go to Data Streams and select your data stream. The Measurement ID (format:
G-XXXXXXXXXX) is displayed at the top
2. API Secret
Create API Secret
Click “Create” to generate a new API secret. Give it a descriptive name
(e.g., “Masivo CDP Integration”)
Configuration Steps
Step 1: Access Integration Settings
Step 2: Configure Basic Settings
Required Fields
Measurement ID
Measurement ID
Enter your Google Analytics 4 Measurement ID (format: G-XXXXXXXXXX). This
identifies your GA4 property.
API Secret
API Secret
Enter your Measurement Protocol API Secret from Google Analytics. This
authenticates API requests to GA4.
Step 3: Configure Data Sync Options
Audiences
Calculate Audiences
Calculate Audiences
Enable this option to sync Masivo audience calculations to Google
Analytics. When an audience is calculated in Masivo, it will be synced as
a custom dimension in GA4.
Delete Audiences
Delete Audiences
Enable this option to handle audience deletion in Google Analytics when
audiences are deleted in Masivo.
Customers
Customer Tags
Customer Tags
Events & Purchases
Sync Events
Sync Events
Enable this option to send customer behavior events to Google Analytics
for analytics and insights. Events will be mapped to GA4 standard and
custom events.
Sync Purchases
Sync Purchases
Enable this option to send purchase events with transaction data to Google
Analytics for e-commerce tracking and revenue analysis.
Google Analytics Configuration Details
Measurement Protocol API
API Requirements
API Access
API Access
The Measurement Protocol API must be enabled for your GA4 property. This
is typically enabled by default.
API Secret
API Secret
Each API secret can be used to send events to your GA4 property. You can
create multiple secrets for different integrations.
Rate Limits
Rate Limits
Google Analytics has rate limits for the Measurement Protocol API. Masivo
automatically handles rate limiting and batching.
Event Tracking Process
Event Mapping
Events are mapped to Google Analytics 4 standard events (purchase, sign_up,
login) or sent as custom events
Event Mapping
Standard Event Mapping
Customer Events
Customer Events
- CUSTOMER/USER/IDENTIFY →
sign_uporloginevents - Customer registration and profile creation events
Purchase Events
Purchase Events
- PURCHASE/TRANSACTION →
purchaseevent - Transaction data with product details, amounts, and currencies
Page Events
Page Events
- PAGE/PAGEVIEW →
page_viewevent - Page view tracking and navigation events
Custom Events
Custom Events
- EVENT/TRACK → Custom events - Customer behavior and engagement events - Custom loyalty program activities
User Properties and Custom Dimensions
Data Enrichment
User Properties
User Properties
Masivo automatically sends user properties to GA4 including: - User ID -
External customer ID - Customer tags (if enabled) - Audience membership
(if enabled)
Custom Dimensions
Custom Dimensions
Custom dimensions can be configured in GA4 to track loyalty program
specific data like tier levels, reward balances, etc.
E-commerce Data
E-commerce Data
Purchase events include full e-commerce data: - Product IDs and names -
Product categories - Order values and currencies - Transaction IDs
Monitoring and Troubleshooting
Health Monitoring
Common Issues
API Secret Issues
API Secret Issues
Measurement ID Issues
Measurement ID Issues
Event Delivery Issues
Event Delivery Issues