Merge pull request #3558 from lbryio/revert-3555-debugPlayerAnalytics

Revert "test player analytics without claimId label"
This commit is contained in:
jessopb 2020-01-27 14:25:41 -05:00 committed by GitHub
commit f1c225d577
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);