using jQuery to get tracking events in one array