class to track time, cookie, events and extra params