statistics api implimentation; queue script tracks event now