Revert "test player analytics without claimId label"

This commit is contained in:
jessopb 2020-01-27 14:24:40 -05:00 committed by GitHub
parent 83314d5b6e
commit 2f81c59aaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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