Add event tracking.