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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | ||
| propertyId | Yes |