splithub_domains
List and replace allowed event-origin domains for experiments or analytics properties; events from unlisted origins are blocked.
Instructions
Allowed domains, per experiment and per analytics property (SplitHub Cloud). Without arguments: every allowed domain with where it applies, which experiments / properties accept any origin, and the origins seen sending events. With kind + id + hosts: replace that experiment's or property's list (subdomains included; an empty list accepts any origin again). Events from an origin outside the list are dropped (403 when nothing in the batch is allowed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| kind | No | experiment or property (test is an old name for experiment) | |
| hosts | No | e.g. ["example.com"]; [] clears the list |