query string history tracker