add event analytics