Firework for Developers
HomepageBusiness Portal
Search
⌃K
Links
Welcome
Web
Getting Started
Integration Guide
Components
Server-side rendering (beta)
Feed Attributes
Player Attributes
Video customization
Events
Embed Feed and Storyblock Events
Video player events
Live stream events
Shopping events
Shopping Integration (V2)
Shopping Integration (V1 - Deprecated)
Web SDK
Enhanced Picture-in-Picture
Privacy settings
Telemetry console
FAQ & Troubleshooting
Android SDK
Integration Guide - V6
Integration Guide - V5
iOS SDK
Integration Guide for iOS SDK
Sample App
FAQ & Troubleshooting
React Native SDK
Integration Guide for React Native SDK V2
Integration Guide for React Native SDK V1
Flutter SDK
Integration Guide for Flutter SDK V2
Integration Guide for Flutter SDK V1
Help Articles
Importing Products to Firework
Adding products to a video
Displaying product videos on product pages using hashtag filtering(Web)
Syncing Carts
Encoded IDs
Powered By GitBook
Comment on page

Events

Firework Embed provides a way to subscribe to particular lifecycle and video events using CustomEvent listener on document.
// Custom event listener
document.addEventListener('<event-name>', function(event) {
console.log(event.detail);
})

Response data

Data available for all events.
​
Name
Description
app_id
ID of your widget.
name
Custom name of a widget.
widget_id
Random ID assigned for each render
guest_id
Random ID assigned to a visitor for as long as possible. Available post render.
​
Previous
Product cards
Next
Embed Feed and Storyblock Events
Last modified 1mo ago