# HTML5 video tracking tag produces way too much actions

**URL:** <https://community.piwik.pro/t/html5-video-tracking-tag-produces-way-too-much-actions/3310>\
**Category:** Data collection and tags\
**Created:** [December 1, 2023, 10:44am UTC](https://community.piwik.pro/t/html5-video-tracking-tag-produces-way-too-much-actions/3310 "2023-12-01T10:44:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomasgerstmann](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/thomasgerstmann/32/864_2.png) [@thomasgerstmann](https://community.piwik.pro/u/thomasgerstmann)\
**Post date:** [December 1, 2023, 10:44am UTC](https://community.piwik.pro/t/html5-video-tracking-tag-produces-way-too-much-actions/3310/1 "2023-12-01T10:44:24Z")

</div>

Hello together,

the HTML5 video tracking tag within PPTM (as explained here: [HTML5 video tracking tag | Piwik PRO help center](https://help.piwik.pro/support/tag-manager/html5-video-tracking-tag/)) produces way too many events/actions. Is it possible to configure it, that only the “Progess - X%” events get tracked? Or that the “Seeked during playback” / “Seeked before playback” events get excluded from being tracked? Is there any possibility to define these requests with Javascript by myself inside a Custom HTML Tag, instead of using this PPTM tag?

If not, this is a feature request 🙂

One more feature request: It would also be nice to deliver PPTM variables as values into the tag, i.e. to deliver a custom video name that I want define by own rules via a variable.

@kuba @anthonybartczak

Kind regards  
Thomas

---

<div class="post-metadata">

**Author:** ![Oliwer\_Kaczmarek](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/oliwer_kaczmarek/32/3888_2.png) [@Oliwer\_Kaczmarek](https://community.piwik.pro/u/Oliwer_Kaczmarek)\
**Post date:** [December 4, 2023, 10:19am UTC](https://community.piwik.pro/t/html5-video-tracking-tag-produces-way-too-much-actions/3310/2 "2023-12-04T10:19:30Z")

</div>

Hi @thomasgerstmann,

It is a Feature Request material. But if you need a solution, here’s a workaround:

Instead of using the default YT (or HTML5) tracking Tag you could use instead the custom code one and change the script to match your needs.  
How to get the script:

1. Open your site in Debug mode.
2. In Overview find your video tracking tag
3. Copy the HTML TAG CONTENT  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/5/52f47a869337b7bd2550baed1cf00999be03174b.png)

Now you have a code that you can edit to match your tracking needs.

Best,  
Oliwer

---

<div class="post-metadata">

**Author:** ![thomasgerstmann](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/thomasgerstmann/32/864_2.png) [@thomasgerstmann](https://community.piwik.pro/u/thomasgerstmann)\
**Post date:** [January 8, 2024, 11:34am UTC](https://community.piwik.pro/t/html5-video-tracking-tag-produces-way-too-much-actions/3310/3 "2024-01-08T11:34:10Z")

</div>

Thank you @Oliwer_Kaczmarek! Right now I am not working on this topic, but its good to know your hack! Kind regards Thomas
