Create web data stream
ga_create_web_streamCreates a GA4 web data stream for a site, returning the measurement ID and gtag snippet needed to set up tracking.
Instructions
Creates a web data stream for a site and returns its measurement ID and gtag snippet.
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": {
"propertyId": "<propertyId>",
"displayName": "<displayName>",
"websiteUrl": "<websiteUrl>"
},
"name": "ga_create_web_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| propertyId | Yes | GA4 property ID, e.g. 123456789 or properties/123456789. | |
| websiteUrl | Yes | ||
| displayName | Yes |