A JS utility to easily collect events from websites for metrics