Take our developer survey. We want your feedback so we can learn how to improve Google Analytics, and make it an even better tool for you.

Measurement Protocol (Google Analytics 4)

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