setProfileAttribute

fun setProfileAttribute(propertyKey: ProfileKey, value: String): Klaviyo

Assign an attribute to the currently tracked profile by key/value pair

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

This should be called when you collect additional data about your user (e.g. first and last name, or location)

Return

Returns Klaviyo for call chaining

Parameters

propertyKey
value