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)
Getting Started
To get started, see sending events. This guide will show you how to send
events via HTTP
using the Measurement Protocol.
Next Steps
- Validate your event payloads using the Measurement Protocol Validation server.
- Check out the protocol and event reference.