create_site
Add a website URL to your analytics account to receive its site ID and tracking code, enabling script installation for traffic measurement.
Instructions
Add a site to this account and get back its id and tracking code. Response: {"site_id":123,"name":"https://example.com","timezone":"Europe/Amsterdam",...}. The url must include the scheme. A url this account already has is REFUSED (site_exists) rather than returned — two sites collecting the same traffic is worse than an error. Retrying with the same arguments replays the first result instead of creating a second site. Follow with get_tracking_snippet to obtain the script tag to install.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full origin including scheme, e.g. "https://example.com". | |
| hobby | No | Optional. Request the free hobby tier; only certain domains qualify. | |
| timezone | No | Optional IANA name, e.g. "Europe/Amsterdam". Defaults to the account's. |