Thanks, Sam. Nuria, that's what I was getting at - if using the EL JS library would some sort of new method be needed so that these impressions arena't undercounted?
On Fri, Jan 19, 2018 at 4:49 AM, Sam Smith samsmith@wikimedia.org wrote:
On Thu, Jan 18, 2018 at 9:57 PM, Adam Baso abaso@wikimedia.org wrote:
Adding to this, one thing to consider is DNT - is there a way to invoke EL so that such traffic is appropriately imputed or something?
The EventLogging client respects DNT [0]. When the user enables DNT, mw.eventLog.logEvent is a NOP.
I don't see any mention of DNT in the Varnish VCLs around the the /beacon endpoint or otherwise but it may be handled elsewhere. While it's unlikely, there's nothing stopping a client sending a well-formatted request to the /beacon/event endpoint directly [1], ignoring the user's choice.
-Sam
[0] https://phabricator.wikimedia.org/diffusion/EEVL/ browse/master/modules/ext.eventLogging.core.js; 4480f7e27140fcb8ae915c1755223fd7a5bab9b9$251 [1] https://phabricator.wikimedia.org/diffusion/EEVL/browse/ master/modules/ext.eventLogging.core.js;4480f7e27140fcb8ae915c1755223f d7a5bab9b9$215
Analytics mailing list Analytics@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/analytics