Revert "test player analytics without claimId label" #3558

Merged
jessopb merged 1 commit from revert-3555-debugPlayerAnalytics into master 2020-01-27 20:25:42 +01:00

View file

@ -130,10 +130,10 @@ const analytics: Analytics = {
} }
}, },
videoStartEvent: (claimId, duration) => { videoStartEvent: (claimId, duration) => {
sendGaTimingEvent('Media', 'TimeToStart', Number((duration * 1000).toFixed(0))); sendGaTimingEvent('Media', 'TimeToStart', Number((duration * 1000).toFixed(0)), claimId);
}, },
videoBufferEvent: (claimId, currentTime) => { videoBufferEvent: (claimId, currentTime) => {
sendGaTimingEvent('Media', 'BufferTimestamp', currentTime * 1000); sendGaTimingEvent('Media', 'BufferTimestamp', currentTime * 1000, claimId);
}, },
tagFollowEvent: (tag, following, location) => { tagFollowEvent: (tag, following, location) => {
sendGaEvent(following ? 'Tag-Follow' : 'Tag-Unfollow', tag); sendGaEvent(following ? 'Tag-Follow' : 'Tag-Unfollow', tag);