All website builders
Wix guide

Add interactive widgets to your Wix site

Wix gives you two ways to add code. An HTML box places a widget at a spot on the page; Custom Code loads popups and floating widgets across the whole site.

What you need: The HTML box works on every Wix plan, including free. Custom Code (for popups and site-wide widgets) needs a paid plan with your own domain connected.

Put a widget on a page

  1. In Plyrel, publish your widget and press Copy code.
  2. In the Wix editor press Add Elements (the + button), then Embed Code, then Embed HTML.
  3. Press Enter Code, paste the code and press Update.
  4. Drag the box to where you want it and stretch it until the whole widget fits.

Wix shows an HTML box inside a frame with a fixed size. Make it a little taller than the widget so nothing is cut off, and check it on the mobile view too.

Show a popup or bar on every page

  1. In your site dashboard go to Settings, then Custom Code.
  2. Press Add Custom Code and paste the widget’s code.
  3. Choose All pages and place the code in Body - end, then press Apply.

Popups, announcement bars and floating buttons should always go in Custom Code. Inside an HTML box they stay trapped in the box.

Good to know

  • Custom Code only runs on your published site, not in the editor preview.
  • For a popup, turn on popup mode in the widget’s settings in Plyrel first.
  • Every published widget also has a page of its own with a link and QR code. If your plan does not allow code, add a button that links to that page instead.

Popular on Wix

Questions people ask

Why is my widget cut off?

The HTML box has a fixed height. Drag its bottom edge down until the whole widget is visible, then check the mobile view as well.

Can I use it on a free Wix site?

Yes, with an HTML box placed in the page. Popups and site-wide widgets need Custom Code, which Wix keeps for paid plans.

Make your first widget free

Three widgets, unlimited views, no card. It takes a few minutes to have one live on Wix.