alias

abstract fun alias(distinctId: String, alias: String)

Creates an alias for the user Docs https://posthog.com/docs/product-analytics/identify#alias-assigning-multiple-distinct-ids-to-the-same-user

Parameters

distinctId

the distinctId

alias

the alias