track last N user actions at any point of time
Got weird user complaint but can’t reproduce?
Dunno gives you steps to reproduce. Add dunno.js to the page, or require for browserify
npm install dunno
var dunno = require('dunno');
Start tracking asap
dunno.start(); // opts {limit: 10, urlcheck: 100}
window.onerror = function() {
console.log(dunno.tell());
};
User jumps between pages, does weird stuff, gets an error. Dunno tells you why.
error: Uncaught ReferenceError: invoiceState is not defined
url: /sets/55b941e794a73c03008db78c ~
click: <a cl="set-tab hidden"></a> ~
click: <a cl="set-tab ">Coco</a> ~
url: /games ~
click: <div id="set-header">Create</a> ~
url: /sets/55b941e794a73c03008db78c/55bbd7c2461ab603007d1648a ~
error: Uncaught TypeError: saveInvoice is not a function
away ~
url: /all?cachereset=100023402
Just post dunno.tell()
to LogEntries or whatever you use. Now you know!