Create site pixel
create_pixelCreate a pixel for a domain.
Does not create an API key. The account must already be active.
Next: call configure_consent(pixel_id, controller_name, purposes) and install the snippet it returns.
Do not install a snippet before consent is configured. install_status starts as not_checked until check_install runs.
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": "create_pixel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Public hostname of the site, without scheme, port, path or IP address. Example: shop.example.com |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| snippet | No | ||
| pixel_id | Yes | ||
| data_kind | Yes | ||
| checked_at | No | ||
| check_error | No | ||
| install_status | Yes | ||
| consent_enabled | No | ||
| evaluation_mode | Yes |