Guide for migrating from v1 and v2 to v3 of the SuprSend Web SDK.
init
method to initialize SDK and suprsend instance was provided by SDK itself.
In v2 we have provided SuprSend
class and its clients responsibility to export the class instance and use it in other places to call library methods.
purchase_made
methodpurchase_made
method has been removed. If you are using this method in v1 you can directly call track method with event type: $purchase_made
.
set_super_properties
set_super_properties
method has been removed. If you are using this method in v1 you could directly pass all these super properties as individual event properties.