Create analytics property
analytics_create_propertyCreates an analytics property for a project and returns the site key for the tracking snippet. Install it at once; the key is shown only once and cannot be re-read.
Instructions
Create the analytics property for a project via POST /api/v1/analytics/property and receive the site key for the tracking snippet. The siteKey field in the result is shown EXACTLY ONCE — install it immediately; it cannot be re-read (recovery: analytics_rotate_key mints a fresh one). 409 property_exists (with propertyId) if the project already has a property. Does not use credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | Public website hostname, e.g. example.com. | |
| projectId | No | Numeric project id. | |
| projectUuid | No | Project UUID (alternative to projectId). |