This documentation is for Universal Analytics. See
Measurement Protocol (Google Analytics 4)
if you are using Google Analytics 4.
The Google Analytics Measurement Protocol allows developers to make HTTP
requests to send raw user interaction data directly to Google Analytics servers.
This allows developers to measure how users interact with their business from
almost any environment. Developers can then use the Measurement Protocol to:
- Measure user activity in new environments.
- Tie online to offline behavior.
- Send data from both the client and server.
Getting Started
Here are the resources you need to get started: