Browser SDK
group
Associate a user with an organization or account.
Signature#
groupId: required organization, workspace, or account ID.traits: optional safe group attributes.options: optional identity, context, timestamp, and integration settings.callback: optional dispatch callback.
Use group when organization-level analysis matters. Do not use it to store arbitrary customer input.