mediawiki-extensions-Popups/src/instrumentation
Adam Wight aa6972c277 Collect metrics for logged-in users as well as anons
The eventlogging `isEnabled` function determines when to sample,
this patch removes the `isAnon` conditional so that we can measure
reference reading habits for all users.

Also guards against a non-function navigator.sendBeacon, which was
previously intended but incorrectly tested.

Bug: T214493
Change-Id: I42cb3082fb85c7900426a2055dfa3c2f6ecfd968
2019-09-27 12:07:11 +02:00
..
eventLogging.js Collect metrics for logged-in users as well as anons 2019-09-27 12:07:11 +02:00
statsv.js Hygiene: update JSDoc boxed and JQuery types 2018-07-17 08:20:08 -05:00