setExternalId
Assigns a unique identifier to associate the currently tracked Klaviyo profile with a profile in an external system, such as a point-of-sale system.
NOTE: Please consult (documentation)[https://help.klaviyo.com/hc/en-us/articles/12902308138011-Understanding-identity-resolution-in-Klaviyo-] to familiarize yourself with identity resolution before using this identifier.
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
Unique identifier from external system