reduced footprint by reusing trackEvent