Merge pull request #3555 from lbryio/debugPlayerAnalytics

test player analytics without claimId label
This commit is contained in:
jessopb 2020-01-27 13:53:10 -05:00 committed by GitHub
commit 83314d5b6e
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)), claimId);
sendGaTimingEvent('Media', 'TimeToStart', Number((duration * 1000).toFixed(0)));
},
videoBufferEvent: (claimId, currentTime) => {
sendGaTimingEvent('Media', 'BufferTimestamp', currentTime * 1000, claimId);
sendGaTimingEvent('Media', 'BufferTimestamp', currentTime * 1000);
},
tagFollowEvent: (tag, following, location) => {
sendGaEvent(following ? 'Tag-Follow' : 'Tag-Unfollow', tag);