[18:48:44] Hallo [18:49:01] HaeB suggested I ask this here, even though it's mostly about desktop. [18:49:26] What would be the best way to measure the number of clicks on Interlanguage links? [18:50:06] We are planning to take the Compact Language Links feature out of its long-overdue Beta status, and I'd love to measure its impact. [18:50:39] (copying over what i already wrote on #wikimedia-anaytics, for context:) [18:50:43] there have been various instrumentations, e.g. https://meta.wikimedia.org/wiki/Schema:MobileWebLanguageSwitcher recently [18:51:56] HaeB: https://phabricator.wikimedia.org/T128917 [18:55:31] bmansurov: is that something that I could reuse for desktop interlanguage links? [18:55:31] also, the elderly among us (e.g. amir and i ;) remember https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2010-06-07/News_and_notes [18:55:32] "we measured the click behavior for two groups of English Wikipedia users, Monobook and Vector (Vector users are primarily those who participated in the beta). Of Monobook and Vector users, 0.95% and 0.28% clicked on the language links (out of 126,180 and 180,873 total clicks), respectively." [18:56:00] I thought about doing it with EventLogging, but I'm afraid it's not the right tool. [18:56:14] aharoni: you could but you need to modify it a little bit [18:56:22] aharoni: why is eventlogging not the right tool? [18:56:33] because of lousy support for sendBeacon? [18:56:56] I don't know what sendBeacon, but then I'm really not an EventLogging expert. [18:57:26] aharoni: If you're interested, then I can help with instrumentation of desktop links with EL [18:57:29] Mostly because interlanguage links are links, which cause people to navigate away, and I'm not sure that the event will actually be logged. I might be wrong, though. [18:57:49] aharoni: you're right, that's why sendBeacon is used to send events [18:58:06] aharoni: more info: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon [18:58:14] aharoni: gotta go, but i'm happy to talk about it later [18:58:33] aharoni: in that instrumentation, the click is actually recorded, see the schema description page [18:59:11] i wonder how howie did it on desktop in 2010 though [19:02:15] bmansurov: I'll be very interested when you're around. [19:14:10] bmansurov: I read a bit about sendBeacon, sounds like the right thing.