> For the complete documentation index, see [llms.txt](https://docs.vodlix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vodlix.com/developer-guide/api-documentation/guidelines-for-implementing-stats.md).

# Guidelines for Implementing Stats

### Valid Events

* Impression
* Start
* View
* Playback
* Finish

### How to Track Events

#### Impression

* When a user opens the content details, log this as an "Impression."

#### Start and View

* If the video starts from the beginning, log a "Start" event.
* When the video plays for almost 5 seconds, log a "View" event.
* If the video is resumed, don't log "Start" or "View."

#### Playback

* Every 10 seconds watched, log a "Playback" event.
* Don't count skipped time.
* If the user goes back, just log the time they actually watched. For example, if they watch 40 seconds, go back to 45 seconds, and log 5 seconds as "Playback."

#### Finish

* If the user watches 95% of the video, log a "Finish" event.
