Create a Measurement Protocol API secret in GA4

Create a Measurement Protocol API secret in GA4 for server-side tracking

To enable Littledata to add server-side events to your Data Stream via the Measurement Protocol API, you need to create a new Measurement Protocol API secret for your Data Stream:

1

Open your Data Stream

Go to your Google Analytics Admin > Data collection and modification > Data Streams, and open your chosen stream:

2

Create a new API secret

Scroll down to the Events tab and click Measurement Protocol API secrets. Then click Create:

3

Name the secret

Create a nickname for your new API secret. We recommend naming it Littledata. Then click Create:

4

Copy the secret value

Copy the Secret value provided.

This value is confidential and should only be shared with Littledata.

5

Done

All done!

Last updated

Was this helpful?