setProperty

abstract fun setProperty(key: Key, value: Serializable?): Self

Adds a custom property to the map. Custom attributes can define any key name that isn't already reserved by Klaviyo


abstract fun setProperty(key: String, value: Serializable?): Self

Add a custom property to the map. Custom attributes can define any key name that isn't already reserved by Klaviyo