InstaLeap Live Status Widget is a JS widget in which your users can perform the following actions:

  • Track the order in real-time.
  • Visualize the information related to the products ordered (found, not found, replacements).
  • Chat with live ops agents, pickers, and drivers.
  • Cancel the job (you will get a notification via webhook).
  • Track the driver location on a map

Basic configuration:


1. Add the URL in a webview to your views https://lsw.instaleap.io

2. Configure the widget using URL params. Available parameters include jobId, environment, LSW-Token. Optional parameters primary color, secondary color, and font family.

  • environment: staging || production

The final URL will look something like this:

https://lsw.instaleap.io/env=environment&job=jobId&token=token&primaryColor=%23colorHex&secondaryColor=%23colorHex&fontFamily=cssFontFamily

Color is encoded using hashes and hexadecimal values (ex: #23004c00), which is why there is a %23 in the parameter (the # encoding reference), also can be sent RGB color (ex: rgb(0,75,0)).

🚧

TOKEN

LSW-Token will be provided for each environment, and it's different from your x-api-token.

Example LSW basic: