The Google Analytics Measurement Protocol for Google Analytics 4 allows developers to make HTTP requests to send events directly to Google Analytics servers. This allows developers to measure how users interact with their business from any HTTP-enabled environment. Notably, this makes it easy to measure interactions that happen server-to-server.
Developers can use the Measurement Protocol to:
- Tie online to offline behavior
- Measure interactions both client-side and server-side
- Send events that happen outside standard user-interaction (e.g. offline conversions)
To get started, see sending events. This guide will show you how to send
HTTP using the Measurement Protocol.