A team plan stored as a user property
setUserProperties is user-level, so a team switch leaves the old team on the user. The skill puts team facts in setDefaultParams, which replaces the set and rides on every event.
// The old team stays on the user after a switch.
await Analytics.setUserProperties({'team_plan': teamPlan});
// Replaced per team and sent with every event.
await Analytics.setDefaultParams({'team_plan': teamPlan});