1

We have a intermittent bug that it's been hard to track, the bug consists in randomly (so we think) when redeeming a code, the entire code value disappears upon making the order...

Doing our self the same process manually, it does not, never ever, happen!

So I thought recording the user actions, every action:

  • click links
  • submit inputs
  • page views

ended up making up this set of rules, and appending to the end of the master page:

$(function() {

    // log this page view
    log2Loggly('Page View', '');

    // for each click
    $("a").click(function() { 
        var ref = $(this).attr("onclick").length > 0 ? $(this).attr("onclick") : $(this).attr("href");
        log2Loggly('Link clicked', ref);
    });

    // forms
    $("form").submit(function() { 
        var dt = $(this).serialize();
        log2Loggly('Form submited', dt);
    });
});

and using Loggly I can send each action, as they get the hold of the date and IP, it's easier to match a user IP upon our system.

I keep seeing this services like CrazyEgg that record all user actions, but we can't match the user, it's anonymous data!

What I really liked was to search for IP and get the entire user tree as kind'a of an organigram of what the user did... maybe I'm able to pull this off with the data I have, but I would like to ask 2 things prior to adventure on this idea

  1. Is there any kind of service for this outthere that you might come across before?
  2. what more should I track to make it "almost perfect"?
balexandre
  • 73,608
  • 45
  • 233
  • 342

0 Answers0