Skip to content

Expose ECT for sites #6

@jamesshannon

Description

@jamesshannon

HI,

Not sure if this should be in front-end or back-end (guess it should technically be in both), but one of the things I've used CrUX data for, which I'd like to see this expose, is effective connection type.

  1. What percentage of users are on (effective) 3G connections? I find that most people assume "my users are in the US and Europe -- everybody is on 4G" though that's obviously not true and CrUX data can provide a sense of how untrue that is. I've used this query before:
  SELECT
 origin,
 form_factor.name as form_factor,
 effective_connection_type.name as ect,
 SUM((
   SELECT
     SUM(bin.density)
   FROM
     UNNEST(first_contentful_paint.histogram.bin) bin
   WHERE origin IN ('https://www.bmwusa.com', 'https://www.infinitiusa.com', 'http://www.lincoln.com'))) AS density
FROM
 `google.com:chrome-ux-report-test.chrome_ux_report.20171018_preview_origin`
 group by form_factor, origin, ect
 HAVING density > 0 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions