<head> of every page, once. The JavaScript APIs in this section only work on pages where it runs.
YOUR_WIDGET_ID with your widget ID, which you find on the Publish page of your dashboard.
If your shop runs on Shopify, Shoprenter, UNAS or Shoper, our app already adds the script. Do not add it again.
Load it only once
If the script is on a page twice, the second copy is ignored and the browser console shows[Molin] the widget script is embedded more than once, ignoring the duplicate. Remove the extra copy, for example one added by both your theme and Google Tag Manager.
When window.Molin is ready
The script loads after the rest of your page, as described in Loading behavior. window.Molin only exists from then on, and the molin:ready event fires on window when it does.