You could join these together in a broader ‘content consumption’ dataset somehow, either in Hadoop with batch jobs, or more realtime with streaming jobs.

Hm, idea…which I think has been mentioned before:  Could we leave pageviews as is, but make a new dataset that counts both pageviews and page previews?  Maybe this is ‘content_views’?  We could explicitly state that the definition of content_views is supposed to change with time, and could possibly incorporate other future types of content views too. Eh?





On Fri, Jan 19, 2018 at 12:27 PM, Nuria Ruiz <nuria@wikimedia.org> wrote:
>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?
If we had a lot of users with DNT, maybe, from our tests when we enabled that on EL this is not the case. Your team has already run experiments on this functionality and they can speak as to the projection of numbers. 

On Fri, Jan 19, 2018 at 3:05 AM, Adam Baso <abaso@wikimedia.org> wrote:
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




_______________________________________________
Analytics mailing list
Analytics@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/analytics



_______________________________________________
Analytics mailing list
Analytics@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/analytics



_______________________________________________
Analytics mailing list
Analytics@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/analytics