Create a Measurement Protocol API secret in GA4

Updated on 2024-01-12

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

  1. First, go to your Google Analytics Admin > Data collection and modification > Data Streams and open your chosen stream:

  2. Scroll down to the Events tab and click on Measurement Protocol API secrets; then click Create:

  3. You will have to create a nickname for your new API secret; we recommend naming this Littledata. Click Create

  4. You will need to copy the Secret value provided. This value is confidential and should only be shared with Littledata.

  5. All done!