# Add Ishara to Base44

Add the feedback widget to a Base44 app with Base44’s own prompt for tracking code, then publish the app with visitor tracking on.

- Where it goes: AI chat, or Code tab → `index.html`
- Allowed domains: your own domain, plus your-app.base44.app
- 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 the app editor, send the prompt below in the AI chat. It follows Base44’s own wording for adding tracking code to the `<head>` of `index.html`.

```
Add this tracking code to my app. Put the <script> tag inside the <head> of index.html. Keep everything else in index.html as it is, and don’t change the code.

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

3. Click **Publish**. The widget only runs for visitors on the published app.
4. 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**.

## Paste it yourself

In your app’s dashboard, open the **Code** tab and then `index.html`. Paste the line inside `<head>`, click **Save** and publish. Base44’s plans list in-app code edits from Starter up.

## Good to know

- Base44 blocks tracking code you added yourself when the app’s visitor tracking is **Off**, and runs it only after consent when it’s **On after visitor consent**. Leave it **On** (the default), or expect the widget only once a visitor accepts the cookie banner.
- Check the widget on the published app rather than in the editor. If it doesn’t appear in Base44’s preview, open your browser’s console: the widget names the address it was blocked on; add that host to the site’s allowed domains.

Checked against the official docs on 2026-11-12: [Base44: app analytics and tracking code](https://docs.base44.com/documentation/performance-and-seo/app-analytics), [Base44: cookies and consent](https://docs.base44.com/documentation/performance-and-seo/cookies-and-consent), [Base44: the Code tab](https://docs.base44.com/developers/app-code/editor/code-tab), [Base44: billing and plans](https://docs.base44.com/Account-and-billing/Billing-and-plans).
