Get Site ID by Domain
rybbit_get_site_idLook up a site by domain name to get the numeric siteId required for Rybbit Analytics API queries. For SDK tracking setup, use the hash siteId from site creation instead.
Instructions
Look up a site by domain name. Returns the numeric siteId used for analytics API queries. Note: for SDK tracking setup, use the hash siteId returned by rybbit_create_site instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to search for (e.g. 'example.com'). Partial match supported. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matches | No | Matching sites | |
| message | No | Diagnostic message when no match |