# Add Ishara to Wix

Add the feedback widget to a Wix or Wix Studio site with a custom code snippet in your site’s settings, set to load on all pages.

- Where it goes: Settings → Custom Code → + Add Custom Code
- Plan: A Premium plan (Light or higher) or a Studio plan, with your own domain connected: Wix only runs custom code on published sites with a connected domain.
- Allowed domains: your own domain
- Time: about 3 minutes

## Steps

1. In Ishara, open **Sites → your site → Install** and copy the line under **Add the line to your site**. Your site’s key is already in it:

```html
<script src="https://useishara.com/w.js" data-site="pk_…" defer></script>
```

2. In your site’s dashboard, go to **Settings** and click **Custom Code** under **Development & integrations**.
3. Click **+ Add Custom Code**, paste the line and give the snippet a name.
4. Under **Add Code to Pages**, choose **All pages**. Under **Place Code in**, choose **Body – End**. Then click **Apply**.
5. Open your site. Back on the **Install** page, **Check it’s live** turns into **The widget is live** as soon as the widget loads. Then open the **Reviewer link** from the same page: only people who open it see **Leave a note**.

## If the widget doesn’t load

In December 2025 Wix added security measures for custom code and warned that some snippets that used to work may be blocked. Wix doesn’t say it removes attributes such as `data-site`, but if the widget doesn’t load on your published site, edit the snippet and paste this version instead. It adds the same line from JavaScript:

```html
<script>
  (function () {
    var s = document.createElement("script");
    s.src = "https://useishara.com/w.js";
    s.defer = true;
    s.dataset.site = "pk_…";
    document.head.appendChild(s);
  })();
</script>
```

## Good to know

- Custom code doesn’t run in the editor or in preview, only on your published site.
- Wix categorises custom code as **Essential** by default, so it loads before visitors give cookie consent. You can change the category under **Code Type**.
- Wix Studio sites have the same **Custom Code** page in their dashboard.

Checked against the official docs on 2026-11-12: [Wix: embedding custom code on your site](https://support.wix.com/en/article/wix-editor-embedding-custom-code-on-your-site), [Wix developers: about custom code](https://dev.wix.com/docs/overview/site-features-tools/about-custom-code), [Wix: categorising your custom code](https://support.wix.com/en/article/categorizing-your-custom-code), [Wix: connecting a domain](https://support.wix.com/en/article/assigning-a-domain-to-a-site-in-your-wix-account), [Wix plans](https://www.wix.com/plans).
