yandex_metrica_create_counter
Create a new Yandex Metrica counter for a website and return its ID and tracking code. Use to add a site or start tracking a new property.
Instructions
Create a new Yandex Metrica counter for a site and return its id and tracking code. Use when the user asks to add a website or start tracking a new property. Do not use this to find a counter that already exists; call yandex_metrica_list_counters or yandex_metrica_get_counter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Counter name | |
| site | Yes | Site domain (e.g. "example.com") | |
| mirrors | No | Mirror domains | |
| time_zone_name | No | Timezone (e.g. "Europe/Moscow") | |
| gdpr_agreement_accepted | No | GDPR agreement accepted (required for EU sites) |