adding onTrackingEvent to docs