setPushToken

fun setPushToken(pushToken: String): Klaviyo

Saves a push token and registers to the current profile

We append this token to a property map and queue it into an identify request to send to the Klaviyo asynchronous APIs. We then write it into the shared preferences so that we can fetch the token for this device as needed

Parameters

pushToken

The push token provided by the device push service