ga4_create_data_stream
Create GA4 data streams for web, Android, or iOS, and generate measurement IDs for GTM and gtag.js.
Instructions
Create a data stream. For WEB_DATA_STREAM this mints the measurement id (G-XXXXXXX) a GTM Google tag or site gtag.js points at.
Args: display_name: stream name shown in the GA4 UI. default_uri: the site's root URL, required for WEB_DATA_STREAM. stream_type: WEB_DATA_STREAM | ANDROID_APP_DATA_STREAM | IOS_APP_DATA_STREAM. confirm: must be true to actually create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| default_uri | No | ||
| property_id | No | ||
| stream_type | No | WEB_DATA_STREAM | |
| display_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |