Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create a Measurement Protocol API secret in GA4

Littledata sends server-side events to your GA4 data stream through the Measurement Protocol API. To do this, it needs an API secret for that data stream. This page shows you how to create one.

You only need to do this if you connect GA4 manually. If you connect by signing in with your Google account, Littledata creates the secret for you. It shows up in GA4 as Littledata Server-Side Tracking.

1

Open your Data Stream

In Google Analytics, go to Admin > Data collection and modification > Data streams, and open the web stream for your store.

2

Create a new API secret

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

3

Name the secret

Enter a nickname for the secret. We recommend "Littledata". Then click Create.

4

Copy the secret value

Copy the Secret value provided.

5

Add the secret in Littledata

When you connect GA4 manually in the Littledata app, paste the value into the API secret field.

Last updated

Was this helpful?