Skip to content

Latest commit

 

History

History
56 lines (32 loc) · 1.33 KB

README.md

File metadata and controls

56 lines (32 loc) · 1.33 KB

K-Report

image

Build Status npm version Downloads License

Hope this is the best report you used library

  • loadtime: Report of the dom related time and ATF
  • network: Report the resource requests timeout
  • error: Record the request and error code

Instructions

Close it on the web, send a statistical package

Examples

    KReport.setOptions()

DEMO

http://k-report.404mzk.com/Example/loadtime/index.html

Try to send the report on the console to perform KReport.sendMessage() active packet

Installation

<script src="http://publish.404mzk.com/1-0-0index.bundle.js"></script>

And it's just as easy with npm:

npm i --save npm install K-Report 

Data Abnormal

Loadtime

  1. atf === -1 : 用户刷新过快,还没统计首屏时间
  2. atf > window_loaded : 用户刷新过快,还没统计完首屏时间

Report Data