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:
Open your Data Stream
Go to your Google Analytics Admin > Data collection and modification > Data Streams, and open your chosen stream:

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


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

Copy the secret value
Copy the Secret value provided.
This value is confidential and should only be shared with Littledata.

Done
All done!
Last updated
Was this helpful?