Node — Group
Associate users with groups (e.g. company, organization) and set group properties. UsegroupIdentify() to set or update group attributes and group() to associate a user with a group.
groupIdentify(options, sessionId?, windowId?)
Set or update group properties. Sends$groupidentify.
group(distinctId, groupType, groupKey, properties?, sessionId?, windowId?)
Associate a user with a group. Sends$group_assign event. If properties are provided, also calls groupIdentify() to set group properties.
When to use: When a user joins or is associated with a group (e.g. company, team, organization).
