In the wild, a user’s experience of your website can vary greatly due to network latency, browser rendering and your backend server processing. You need to be able to measure the user experience with standard metrics. Luckily your favorite web tool, the browser, can provide this data to you. Sending this browser data back to your site is called Real User Monitoring (RUM).
In this session, we will explore how to measure web performance that your users are experiencing. We will cover the W3C standards for timings and how to analyze them. How can you capture this information from your user’s browser and transmit that back to your webserver for analysis? We will look at an open source project Boomerang which provides JavaScript code that you can run in your web pages to gather this data. Then we will review a few options for customization and analysis of the data.
12. Real User Monitoring (User)
Any Browser
Any Where
Any Time
Real Users
◦ How your site works in the “real world”
Broad View of the World
Using JavaScript and a beacon
31. RUM Beacon
GET
or POST (if over 2000 char)
/beacon/rum?rt.start=navigation&rt.tstart=1438653301740&rt.bstart=143865
3304560&rt.end=1438653308546&t_resp=1699&t_page=5107&t_done=6806&t_other=
t_domloaded%7C4172&nt_red_cnt=0&nt_nav_type=0&nt_nav_st=1438653301740&nt_
red_st=0&nt_red_end=0&nt_fet_st=1438653302905&nt_dns_st=1438653302905&nt_
dns_end=1438653302905&nt_con_st=1438653302905&nt_con_end=1438653302905&nt
_req_st=1438653302906&nt_res_st=1438653303439&nt_res_end=1438653303609&nt
_domloading=1438653303441&nt_domint=1438653305779&nt_domcontloaded_st=143
8653305779&nt_domcontloaded_end=1438653305912&nt_domcomp=1438653308530&nt
_load_st=1438653308530&nt_load_end=1438653308546&nt_unload_st=0&nt_unload
_end=0&nt_spdy=0&nt_cinf=http%2F1&nt_first_paint=1438653304.607804&v=0.9&
vis.st=visible&bucket=test#1&page_id=123