Firework 1-1
Interactive Video and One-to-many Digital ShowroomBusiness Portal
  • Overview
  • Simple Integration
  • Advanced Integration
  • Configuration
  • Analytics
Powered by GitBook
On this page

Simple Integration

PreviousOverviewNextAdvanced Integration

Last updated 4 months ago

The simplest way to integrate the Firework One to One widget to your website is to add the following script immediately before Global </head>.

<script async src="https://asset.fwscripts.com/js/live-helper.js" data-fwparam_chat_channel_id="[ChatChannelId]"></script>
<script>
  document.addEventListener('DOMContentLoaded', () => {
    setTimeout(() => {
      var n = document.createElement("fw-live-helper");
      document.body.appendChild(n);
    }, 0);
  });
</script>

Note: Please update the above snippet where it has [ChatChannelId] to the business's chat channel ID. The chat channel ID can be found on the business portal URL. Example: https://business.fireworktv.com/business/5EROOo/chat_channel/Q01bn6Y ※: Q01bn6Y will be the chat channel ID

You can control the visibility of the widget defining rules in the Firework Business Portal. You can read more about it .

here