Ex-Amazon employee from a while back (to which I only speak on behalf of my own feelings and imply no other intent...). IIRC this was driven from a analytics standpoint, wasn't actually really used outside of bug deep dives, and was horrible to implement.
That's not to say it hasn't started to be abused but at the time it was completely from a "customer/UX first" stance.