Upgrade from Measurement Protocol to the Data Manager API

Upgrade your server-side event collection from the Measurement Protocol to the Data Manager API to gain access to several improvements and features.

Here's a comparison between using the Data Manager API and Measurement Protocol to send events to Google Analytics.

Data Manager API Measurement Protocol
Data model Unified data model across all Google advertising products. Data model is specific to Google Analytics.
Encryption Supports encryption. Not supported.
Destinations Supports sending events to multiple destinations in a single request. Supports sending events to only a single data stream (measurement ID or Firebase App ID) per request.
API secret Not required. Required.