ga4_create_data_stream
Create a Google Analytics 4 data stream for web, Android, or iOS apps to start collecting data.
Instructions
[GA4 WRITE] Create a data stream (web / Android / iOS). Requires GA4_MCP_ENABLE_WRITES=true and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Raw request-body object (JSON) merged OVER the typed fields — use for nested/advanced fields not exposed as flat args. | |
| type | Yes | Stream type. | |
| confirm | Yes | Must be true to apply the change. | |
| bundleId | No | For IOS streams: the app bundle id. | |
| property | Yes | GA4 property ID, e.g. "123456789" or "properties/123456789". | |
| defaultUri | No | For WEB streams: the site URL (sets webStreamData.defaultUri). | |
| displayName | Yes | ||
| packageName | No | For ANDROID streams: the app package name. |