create_web_data_stream
Creates a web data stream for a Google Analytics 4 property, returning a measurement ID (G-XXXXXXXX) to enable website tracking.
Instructions
Create a web data stream for a GA4 property. Returns measurement_id (G-XXXXXXXX). property_id: numeric or properties/.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"property_id": "<property_id>",
"stream_name": "<stream_name>",
"website_url": "<website_url>"
},
"name": "create_web_data_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property_id | Yes | ||
| stream_name | Yes | ||
| website_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |