Skip to content

Offset lost for Progress tracking events #485

@jaram-qualabs

Description

@jaram-qualabs

I need to get information about the Progress tracking events.
Those Tracking Events in VAST contain an offset attribute, referring to the point of time where the event has to be triggered.

Some samples:

<Tracking event="progress" offset="00:00:15.333"><![CDATA[ https://sample/progress-15sec ]]></Tracking>
<Tracking event="progress" offset="00:00:15.000"><![CDATA[ https://sample/progress-15sec ]]></Tracking>
<Tracking event="progress" offset="00:30:15.000"><![CDATA[ https://sample/ad-fake-event/progress-15sec ]]></Tracking>
<Tracking event="progress" offset="01:30:15.000"><![CDATA[ https://sample/progress-15sec ]]></Tracking>
<Tracking event="progress" offset="60%"><![CDATA[ https://sample/progress-60percent ]]></Tracking>

Result of parsing:
Pasted image 20241223123021

As you can see, the offset gets transformed from time format to seconds:

  • 00:00:15.333 = 15,
  • 00:00:15.000 = 15,
  • 00:30:15.000 = 1815
  • 01:30:15.000 = 5415

If its a percentage it remains the same:

  • 60% = 60%

Code: parserUtils

It would be great to find a way not to lose the exact offset value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions