[fix bug 980140] Add goals field in events.