Add analytics property host
analytics_add_property_hostAdd a public collection hostname to an analytics property by propertyId, preserving the canonical host and site key while changing live site tracking.
Instructions
Add a public collection hostname via PATCH /api/v1/analytics/property. Target by propertyId alone. Keeps the canonical host and site key. This changes live tracking on the user's site. Does not use credits.
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>",
"hostname": "<hostname>"
},
"name": "analytics_add_property_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | ||
| propertyId | Yes |