🌐Platform Guide

How to Embed a Widget on Wix

Wix is one of the most popular website builders, powering millions of sites. Embedding an Embeddy widget on Wix is straightforward — but it is important to use the right method. This guide walks you through the correct approach for displaying a visible, interactive widget on your Wix pages.

Beginner~5 min readUpdated 2026

Prerequisites

Before you start, make sure you have the following ready:

  • An Embeddy widget: Create one for free at embeddy.ai/dashboard. Your widget must be published so it is publicly accessible.
  • Your iframe embed code: In the Embeddy dashboard, open your widget, go to the Share / Embed panel, and copy the iframe embed code. It looks like this:
<iframe
  src="https://embeddy.ai/webhost/WIDGET_ID?widget_props_id=PROPS_ID"
  width="100%"
  height="500"
  frameborder="0"
></iframe>
  • Access to the Wix Editor: Log in to Wix and open the Editor for the site where you want to add the widget. Note that Wix requires a paid plan to connect a custom domain and fully publish your site.

Important: Wix Has Two "Embed" Methods

Wix offers two ways to add external code to your site, and they serve very different purposes. Choosing the wrong one is the most common reason Embeddy widgets do not appear on Wix sites.

iFrame Embed Element (Editor)

Added via Add (+) > Embed Code > Embed a Widget inside the Wix Editor.

Use this for visible, interactive content like Embeddy widgets.

Custom Code (Dashboard Settings)

Added via Dashboard > Settings > Custom Code — injects scripts into the page head or body globally.

Do NOT use this for visible widgets. It is for analytics and invisible scripts only.

Common mistake: Many users paste iframe code into Wix's Dashboard > Settings > Custom Code and then wonder why nothing appears on the page. Custom Code is for injecting scripts globally — it is not designed to render visible iframe content. Always use the Embed Element inside the Wix Editor for visible widgets.

Method 1: iFrame Embed Element

Recommended — for visible, interactive widget content

This is the correct way to embed a visible Embeddy widget on a Wix page. You will add an Embed Code element directly in the Wix Editor, paste your iframe code, and position it on the page.

  1. 1

    Open the Wix Editor

    From your Wix dashboard, click Edit Site next to the site you want to update. The Wix Editor will open with a live preview of your site.

  2. 2

    Navigate to the page where you want the widget

    Use the Pages menu in the Editor to switch to the correct page if needed.

  3. 3

    Click Add (+) in the left sidebar

    The Add panel opens. Scroll down or search for Embed Code. Click on it to expand the options.

    You will see two relevant options: Embed a Widget and HTML iFrame. Both work — Embed a Widget is the standard choice; HTML iFramegives you more explicit control over the sizing settings panel. Either one works for Embeddy.

  4. 4

    Select "Embed a Widget"

    A placeholder embed block is added to your page canvas. It will display a grey placeholder box — this is where your widget will appear.

  5. 5

    Click "Enter Code" and paste your iframe

    Click on the placeholder block on the canvas. A panel appears — choose Enter Code. Paste your Embeddy iframe embed code into the code editor:

    <iframe
      src="https://embeddy.ai/webhost/WIDGET_ID?widget_props_id=PROPS_ID"
      width="100%"
      height="500"
      frameborder="0"
    ></iframe>

    Replace WIDGET_ID and PROPS_ID with the values from your Embeddy dashboard. The URL must use HTTPS (not HTTP).

  6. 6

    Click "Apply"

    Wix will render a preview of your widget inside the Editor canvas. The widget may show a simplified preview — it will be fully interactive once published.

  7. 7

    Position and resize the element

    Drag the embed block to where you want it on the page. Use the blue resize handles to adjust its width and height. See Positioning & Resizing below for details.

  8. 8

    Click "Publish"

    Click the Publish button in the top-right corner of the Editor. Your widget will now be live on your site.

Tip: If you want even more sizing control, use HTML iFrameinstead of "Embed a Widget" — it exposes a dedicated width/height settings panel that makes pixel-precise adjustments easier without editing the code.

Method 2: Custom Code in Dashboard Settings

For global scripts only — not for visible widget content

Important: This method injects code into the <head> or <body> of your pages globally. It is suitable for analytics scripts, tracking pixels, and other invisible integrations. It will not render a visible iframe element on a specific page. Use Method 1 for visible Embeddy widgets.

If you have a legitimate need to inject a global script (for example, a custom analytics script or an Embeddy script that initializes programmatically), here is how to use Wix Custom Code:

  1. 1

    Go to your Wix Dashboard

    Navigate to Settings > Custom Code in the Wix dashboard (not the Editor).

  2. 2

    Click "Add Custom Code"

    Choose where to inject the code: Head, Body - start, or Body - end. For most scripts, Body - end is recommended.

  3. 3

    Paste your script and save

    Name the snippet, paste your code, choose which pages it applies to, and click Apply. Note: your site must be published with a connected domain for Custom Code to take effect. Domain changes will delete existing snippets — re-add them after any domain change.

Reminder: For a visible Embeddy widget, always use Method 1 (Embed Element in the Editor). Custom Code is the right choice for invisible integrations like event tracking or third-party analytics.

Positioning & Resizing

Once your Embed element is on the Wix canvas, you have full control over its size and position using the Editor's visual tools — no code changes needed.

Moving the widget

Click and drag the embed element anywhere on the canvas. Wix's smart snap guides will help you align it with other elements. You can also enter exact X/Y coordinates in the position panel on the right.

Resizing the widget

Drag the blue corner or edge handles to resize the embed element. The widget content will scale to fill the new dimensions. You can also type specific pixel values into the width and height fields in the layout panel.

Setting exact dimensions

Right-click the embed element and choose Layout, or use the top toolbar's position panel to enter exact pixel width and height values. This is useful when you need the widget to match a specific section height on the page.

Mobile layout

Click the Mobile icon in the top Editor bar to switch to mobile view. Adjust the embed element's size and position specifically for mobile — Wix stores desktop and mobile layouts separately. Set the iframe width to 100% for best results on small screens.

Pro tip: For full-width embeds, stretch the embed element to span the full page width, then set width="100%" in your iframe code. This ensures the widget fills the available space responsively.

Troubleshooting

Widget is not showing on the page

This is almost always caused by one of these mistakes:

  • Code was added via Custom Code in Settings, not via the Embed Element in the Editor. Custom Code does not render visible content on the page. Remove it and use Method 1.
  • The site has not been published. Changes in the Editor are not live until you click Publish.
  • The widget is in draft mode. Publish the widget in the Embeddy dashboard first.

HTTPS / mixed content error

Wix requires all embedded content to be served over HTTPS. Embeddy widget URLs always use HTTPS (https://embeddy.ai/...), so this should not be an issue if you copy the embed code directly from the Embeddy dashboard. If you see a mixed content warning, check that the src URL in your iframe starts with https://.

Widget looks different or broken on mobile

Switch to Wix Editor's mobile view and check the embed element's dimensions. If the iframe has a fixed width larger than the mobile viewport (e.g. width="800"), it will overflow on small screens. Update the iframe code to use width="100%" and resize the embed element to fill the mobile column width.

Custom Code snippets were deleted after a domain change

This is a known Wix behavior — changing your connected domain deletes all Custom Code snippets. If you were using Custom Code for any invisible integrations, re-add them after the domain change. Embed elements added via the Editor are not affected by domain changes.

Embed shows a blank grey box in the Editor preview

The Wix Editor preview can sometimes show a placeholder instead of the actual rendered widget. Click Preview in the top bar, or Publish and view the live site — the widget will render correctly there.

Still stuck? Reach out on Discord or contact support. Share a screenshot of your Wix Editor setup and your widget's embed code and we will help you get it working.

FAQ

Does embedding an Embeddy widget work on all Wix plans?

The iFrame Embed element is available on all Wix plans including the free plan for editing. However, to publish your site with a custom domain and for Custom Code to take effect, Wix requires a paid plan. The widget itself will work once the page is published and accessible by visitors.

Can I embed the widget on multiple pages of my Wix site?

Yes. Repeat the steps in Method 1 for each page where you want the widget to appear. You can use the same iframe code on as many pages as you like — each embed loads the same live widget from Embeddy. There is no limit on the number of pages or embeds.

If I update my widget in Embeddy, will it automatically update on my Wix site?

Yes. The iframe embed loads the widget directly from Embeddy's servers every time a visitor loads your Wix page. Any changes you make to the widget in the Embeddy dashboard are immediately reflected on your Wix site — no need to update or re-publish the Wix page.

Ready to go live on Wix?

Head to your Embeddy dashboard to grab your iframe embed code, then drop it into the Wix Editor using the steps above. Your interactive widget will be live in minutes.