common-web
common-web copied to clipboard
Track Performance Metrics
Javascript's Performance Metrics have pretty good brower support. That information is super duper useful, so we should probably track it.
pageLoad should, IMO, by default include:
- performance.navigation.redirectCount
- performance.navigation.type (translated to pretty strings
- and let's just dump all of the magic from
performance.timingin there as well
Chrome also has a performance.memory field, but until the API stabilizes on that sort of info, let's leave it.
Also, thanks @lexicography for the stellar idea!
/cc @dustinlarimer