On Mon, Feb 4, 2013 at 5:49 PM, Brion Vibber brion@pobox.com wrote:
On Mon, Feb 4, 2013 at 4:38 PM, Arthur Richards <arichards@wikimedia.org
wrote:
On Mon, Feb 4, 2013 at 5:30 PM, Brion Vibber brion@pobox.com wrote:
On Mon, Feb 4, 2013 at 4:24 PM, Arthur Richards <
arichards@wikimedia.org
wrote:
- How could this work for the first pageview request (eg a user
clicking
a
link from Google or even just browsing to http://en.wikipedia.org)?
I think mainly we need the tracking on the API requests... that's all JavaScript-initiated, and all hidden from the user. The main problem
with
adding parameters would be for caching .... but none of the API hits
are
currently cacheable so that's not an immediate issue perhaps.
We also need to be able to differentiate between alpha/beta/stable
versions
of the mobile site, without having to parse the cookie header (I believe
as
a result of performance constraints around this? I think the analytics
team
had looked into this previously).
Yeah that's.... probably not possible if you want to track that for initial page views. Cookie's the only thing guaranteed to have the data available, and we have no way to inject a header into mobile web browsers except for the XHR hits to the API.
-- brion _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
In the case of the cookie, the header would actually get set by the backend response (from Apache) and I believe Dave cooked up or was planning on cooking some magic to somehow make that information discernable when results are cached.