Events
subify:sdkLoaded
This event will be triggered when sdk is successfully loaded.
Please note that this event is only triggered when the Subify SDK has not yet been loaded. If you listen to this event after the Subify SDK has been loaded, it won't be triggered. You can check “window.subifySdk” to determine whether the SDK has been loaded previously.
subify:variantChange
This event will be triggered when sdk detects variant selection.
event.detail
targetProductId
(number) The ID of the product whose variant has changed.
selectedVariantId
(number) the ID of new selected variant
subify:sellingPlanChange
This event will be triggered when the user changes a subscription option in the widget.
event.detail
targetProductId
(number) The ID of the product whose selling plan has changed.
selectedSellingPlan
Last updated