test player analytics without claimId label

This commit is contained in:
jessop 2020-01-27 13:31:53 -05:00
parent 9544e29d29
commit 64727e5232

View file

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