---
metadata:
  - name: generator
    content: Diplodoc Platform v5.34.3
alternate:
  - https://yandex.ru/dev/video-sdk/doc/en/sdk-html5/TrackingEvents-string.md
  - https://yandex.ru/dev/video-sdk/doc/ru/sdk-html5/TrackingEvents-string.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/video-sdk/doc/en/llms.txt

# TrackingEvents

An object with VAST event names and actions..

```
type TrackingEvents = {
            [key in string]: string[];
            }
```

Value | Description
----- | -----
`[key in string]: string[]` | A "key-value" pair where the key is the VAST event name and the value is an array of strings (links invoked when the event is triggered).


## Event list {#events}

#|
|| **Event** | **Description** ||
|| `error` | Ad error. ||
|| `impression` 
|
1. For a regular video, it's triggered when the first frame is shown.
1. For Yandex VPAID creatives, it's triggered in one of the two cases:
    * When clicking through to the advertiser's site;
    * After two seconds of viewing ads in the viewable area. Viewable ad view is the time when the creative is playing with its viewable part taking up at least 50% of the creative's total space. The creative should also meet the minimum size criteria (see section 4.3.2 [on the minimum player size](https://yandex.ru/legal/partner/)).
1. For other creatives, the event is triggered when an impression is launched by the creative itself.||
|| `start` | Ad serving start. ||
|| `firstQuartile` | 25% of the ad was played. ||
|| `midpoint` | 50% of the ad was played. ||
|| `thirdQuartile` | 75% of the ad was played. ||
|| `complete` | The ad was played to the end. ||
|| `mute` | The sound is muted. ||
|| `unmute` | The sound is on. ||
|| `pause` | The ad is paused. ||
|| `resume` | The ad is unpaused. ||
|| `close` | The user stopped the ad by clicking the **CLOSE** or **ABUSE** button
|| `skip` | The user skipped the ad. ||
|| `clickThrough` | The user clicked on the ad. ||
|#
