add event metadata tracking