setProfile

fun setProfile(profile: Profile): Klaviyo

Assign new identifiers and attributes to the currently tracked profile. If a profile has already been identified it will be overwritten by calling resetProfile.

The SDK keeps track of current profile details to build analytics requests with profile identifiers

Return

Returns Klaviyo for call chaining

Parameters

profile

A map-like object representing properties of the new user