Skip to content

Add widgets to your webshop

Each widget has an embed code: one script line and one tag. Open the widget and choose Embed, then Copy snippet.

Widgets only run on the domains you allow, so nobody else can show your videos. Go to Web › Website settings and add your webshop’s addresses, one per line, such as https://shop.example.com. While you build, the test key in the code also works on localhost.

  1. In Shopify, go to Online Store › Themes and choose Customize.
  2. On the page where the widget goes, add a Custom Liquid section.
  3. Paste the embed code and save.

For videos on product pages, add the section to the product template.

Add a Custom HTML block where the widget goes and paste the embed code. To show a widget on every product page, paste it into your theme’s product template, or use a plugin that adds HTML there.

Paste the code into your page’s HTML where the widget goes. The script line only needs to be on the page once, even with several widgets. See Embed a widget for every option.

Back in the console, choose Turn on. Reload your shop: the widget appears.

Nothing showing? Add ?lumieo_debug=1 to your page’s address and open the browser console. It says what’s wrong and links to the fix. See Debugging.