Add a site
add_siteAdds a site to the user's account (or returns it if it already exists) and gives the tracking snippet to install.
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": {
"domain": "<domain>"
},
"name": "add_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name. Defaults to the domain. | |
| domain | Yes | The site's domain, e.g. example.com. Subdomains are included. | |
| timezone | No | IANA timezone for days and hours, e.g. Europe/Paris. Default UTC. |