🛠️ Reusely - Platform: New Widget Custom Events
Althaaf Rachman Hafidz
Jul 31, 2025
🛠️ Reusely - Platform: New Widget Custom Events
✨ What’s New
We’ve added a series of custom events to the Reusely widget that help customers track and trigger actions at every stage of the buyback process. These events can now be integrated into your own analytics or custom workflows to provide deeper insights and automation opportunities.
🛠️ Key Features
📌 New Widget Custom Events
You can now listen for specific events as users interact with the widget:
load
– Triggered when the widget first loads.view_item
– Triggered when a user selects a product and condition.add_to_cart
– Triggered when an item is added to the cart.remove_from_cart
– Triggered when an item is removed from the cart.view_cart
– Triggered when the cart is fully viewed with selected items.generate_lead
– Triggered when an email is entered (either during lead collection or checkout, depending on settings).begin_checkout
– Triggered when the checkout process starts.add_payout_info
– Triggered when a user selects a payout method.add_shipping_info
– Triggered when a user adds shipping details.checkout
– Triggered when a user completes the trade-in process.
Each event includes relevant data objects like product details, cart totals, payout info, or shipping info.
✅ Why This Matters
📊 Gives customers deeper insights into widget interactions
🔗 Enables integrations with analytics platforms and custom workflows
⚡ Helps businesses automate follow-up actions based on user behavior
💡 Where You’ll See It
These events can be accessed through
Buyback.event()
in your JavaScript code.Example:
javascript
Buyback.event('checkout', (data) => {
console.log("Offer Saved", data);
});
Response:
{
"box_id": "IT51CJS",
"carts": [
{
"slug": "1753342553709_269361_7573",
"product_id": 269361,
"condition_id": 7573,
"name": "Samsung Galaxy A35 5G",
"description": "Unlocked 128GB 6GB RAM condi",
"qty": 1,
"price": "76.00",
"thumbnail": "https://storage.skulytics.io/reusely/models/galaxy-a-series-a35-5g.webp",
"notes": "",
"mailin": true,
"instore": true
}
],
"total": "76.00",
"currency": "USD",
"name": "Reusely Testing",
"email": "Reusely@testing.co",
"address": "10600 Highland Springs Ave, Beaumont, CA 92223"
Full documentation and code examples can be found here: Widget Custom Event Docs