dataviewΒΆ
A dataview is basically the rest event type. It is used for asynchronuous tracking events. Like the interaction with the Youtube API.
harvest.trackEvent({
"event":"dataview",
"data": {
"contentInteractionName": "Video started",
"videoID": "123123asd",
"videoTitle": "Awesome remix",
"videoDuration": "60"
}
});
The above example is the example of the tracking of video that is being started.
It is also possible to use data-attributes for a dataview. You will need to use the data-track-dataview attribute.