w3c-webmob / netinfo-usecases

Network information use cases and requirements
The Unlicense
17 stars 17 forks source link

Add analytics use case #65

Open igrigorik opened 10 years ago

igrigorik commented 10 years ago

From https://plus.google.com/+IlyaGrigorik/posts/QwTUPrcxyJp

image

Exposing more detailed connection data (e.g. 2G, 3G, 4G), can help with analyzing performance data (RUM, etc), as well as business KPIs (slicing behavior, purchases, etc).

marcoscaceres commented 10 years ago

That's good feedback.

As a kind of aside, it's worrying reading in the responses how many times media (images, audio) get a mention. It will be much more harmful to developers to delay images till DOMContentLoaded and rewriting all their image URLs to make use of net info (at least till we have SWs, but even then it will hurt on first load) ... this could be a strong motivator to get a move on with client hints for those determined to serve content based on connection type. At least it could help with the URL rewriting.

igrigorik commented 10 years ago

@marcoscaceres right, a connection type CH hint would definitely help. I know of at least a few teams within Google that already do this sort of thing, albeit through much more painful means: matching IP blocks / looking at originating ASN, using cookies set on past navigations, etc.

FWIW, Vivek did not mention it in his post, but they do make use of (and want) detailed cellular data.

igrigorik commented 10 years ago

Followup note... The analytics case should address 8.3: http://www.w3.org/TR/netinfo-usecases/#why-not-specifying-the-class-of-cellular-connection-2g-3g-etc.x