setEmail

fun setEmail(email: String): Klaviyo

Assigns an email address to the currently tracked Klaviyo profile

Whitespace will be trimmed from the value. Calling this method with an empty string or the same value as currently set will be ignored. To clear identifiers, use resetProfile.

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

This should be called whenever the active user in your app changes (e.g. after a fresh login)

Return

Returns Klaviyo for call chaining

Parameters

email

Email address for active user