6.0.0
Updated
- Uses official klaviyo/api package.
- Renamed
useSubscribeEndpoint
tosubscribe
. - User profile now uses
external_id
instead ofid
. - Renamed
event_id
tounique_id
. - Changed
identify
function to include an$update
argument. identify
action can update an existing profile.- Updated
trackOrder
to include the order currency in the event details.
Added
- Provide
email
and/orphone_number
whensubscribe
istrue
to provide consent for subscription to those channels. - Added
value_currency
to event details.
Removed
- Removed track once event.
- Remove
profileInList
API service function. - Removed
update-profile
action. Update profiles using identify and track endpoints instead. - Removed
updateProfile
API service method.
Full Changelog: 5.0.8...6.0.0