Adding event name to attributes