# HTML5 video tracking: need help with specifications

**URL:** <https://community.piwik.pro/t/html5-video-tracking-need-help-with-specifications/747>\
**Category:** Data collection and tags\
**Created:** [June 17, 2022, 9:28am UTC](https://community.piwik.pro/t/html5-video-tracking-need-help-with-specifications/747 "2022-06-17T09:28:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GerritN](https://avatars.discourse-cdn.com/v4/letter/g/977dab/32.png) [@GerritN](https://community.piwik.pro/u/GerritN)\
**Post date:** [June 17, 2022, 9:28am UTC](https://community.piwik.pro/t/html5-video-tracking-need-help-with-specifications/747/1 "2022-06-17T09:28:37Z")

</div>

Having installed the HTML5 tracking, it is not really clear where it gets the inforamtion from that it puts in Event category, Event action and Event name. It would be nice to adjust it.  
I also like to know how to type the CSS selectors and the “title form an HTML attribute”.

---

<div class="post-metadata">

**Author:** ![kuba](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/kuba/32/7_2.png) [@kuba](https://community.piwik.pro/u/kuba)\
**Post date:** [June 20, 2022, 10:07am UTC](https://community.piwik.pro/t/html5-video-tracking-need-help-with-specifications/747/2 "2022-06-20T10:07:07Z")

</div>

Hi. Since there are pre-defined video reports based on custom events, it isn’t possible to customize the parameters structure.

For the video title, it’s all about specifying the atrribute that contains the title, e.g.

```auto
<video data-video-title="video title" ... >

```

In this case, you have to enter `data-video-title` in the tag’s config.

As for the CSS selector, you can use those [described here](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors). Basically, anything that could be understood by `document.querySelectorAll`.
