Fix useTracker in production env