a class to track page loading metrices, cookie availability, and events