...
To do this, there are just a few modifications to the script you have to make:
Setting the widget to 'Embeddable' mode
Inside the script’s behavior{}
object is where you’ll find options affecting the presentation of the widget as well as the type of widget to be used.
...
After that is setup, the next step will be to select where the embeddable widget will appear on your page.
Selecting where the widget will be embedded
Determining the placement of the embedded widget is done using the mountSelector
field. To do this, you’ll first want to identify the location where you want your widget to be displayed and grab the CSS selector of that element.
...