group

open override fun group(distinctId: String, type: String, key: String, groupProperties: Map<String, Any>?)

Creates a group Docs https://posthog.com/docs/product-analytics/group-analytics

Parameters

distinctId

the distinctId

type

the Group type

key

the Group key

groupProperties

the Group properties, set as a "$group_set" property, Docs https://posthog.com/docs/product-analytics/group-analytics