We track video completion events using the built in HTML5 "% complete" condition. With this we have the following rules sending events:
0%: event10 and event15=0
25%: event11 and event15=25
50%: event12 and event15=25
75%: event13 and event15=25
100%: event14 and event15=25
I was expecting in Analytics that it would accumulate the values of event15 so if the video is watched until the end it would show 100(%). But as there are 5 events I get 5 as the value so it incremented it by 1 for each call. Is it even possible to achieve what I was trying, if yes, how would I need to configure the event or the value?
Ok, there was a missconecption from my side. I accidentally set what I thought to be the value for the event in the serialize from value field. So I was basically missing an option to add values to an event with the GUI. It seems I need to add it in a custom code section.
So I know have the following (this is the video DOM element that triggered the rule):
I clarified it and it seems we could use the eVar Instances as a counter as well. Though we keep the extra event and leave it as a normal counter.
But still I don't see why it doesn't work with a value. I've seen in the documentation that you need H23 Code, that this works. Where can I see what we are using, maybe this is why it isn't working.
I now also added another event to the milestones, counting the seconds played of the video. But here nothing at all gets tracked. I send it like this for the 25% milestone, whereas event16 should count the seconds and is defined as Numeric (Query String Parameter):
It is defined in DTM in the Events section of the milestone like this: