User Properties

Attach traits to profiles on web (profilePush / profileIncrement) and mobile (login traits) without flooding event streams.

Web profile APIs

profilePushjavascript
growise.profilePush({
  Theme_Preference: 'Dark',
  Last_Purchase_Category: 'Books',
})
profileIncrementjavascript
growise.profileIncrement('loyalty_points', 100)
growise.profileIncrement('referrals')

Mobile traits

Pass traits on logIn. Update again on subsequent logIn when attributes change.

Flutterdart
await GrowWise.logIn('user_123', {
  'Name': 'Jane Doe',
  'membership': 'Premium',
});

Guidance

  • Traits = who they are; events = what they did
  • Keep trait names consistent across platforms
  • Do not put high-cardinality free text into traits without a plan