provision_project_ga4_setup
Create a GA4 property and web stream, optionally inject gtag script, and save configuration file for project setup.
Instructions
End-to-end: create property + web stream, optionally save .ga4.config.json and inject gtag. If registry_slug is set and GA4_LAUNCHER_REGISTRY_* env is configured, syncs analytics.ga4 metadata.
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": {
"account_id": "<account_id>",
"project_name": "<project_name>",
"website_url": "<website_url>"
},
"name": "provision_project_ga4_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | Europe/London | |
| account_id | Yes | ||
| project_dir | No | ||
| website_url | Yes | ||
| project_name | Yes | ||
| registry_slug | No | ||
| inject_html_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |