Skip to content

API - Widget

The widget needs to be installed differently depending on whether you are using a Single-Page Application or a standard page with basic JavaScript.

The initialization of the widget requires the following parameters:

  • the unique identifier of your business (IdBusiness),
  • the technical reference of the segment,
  • the technical reference of the customer.

Other optional parameters, such as the offer reference and the visibility of the widget, can be configured to customize the behavior of the widget according to your specific needs.
Discover all the usable parameters by clicking on “API - Widget: Initialization

Various functions can be used to customize the behavior of the widget and adapt it to your different user journeys.
You will find an overview of the available functions, such as “open”, “close”, etc… by clicking on “API - Widget: Functions