Manova Developers

Install the widget

One script tag adds the assistant to any website, with optional attributes for position, look and behaviour.

The snippet

<script src="https://manova.ir/widget.js" data-bot="pk_YOUR_WIDGET_KEY" async></script>

Put it before </body>, once per page. Find your key and a ready-made snippet in the assistant's نصب روی سایت section. The script is small, loads asynchronously and draws itself in a Shadow DOM, so your site's CSS does not leak into it and its CSS does not leak into your site.

Allowed domains

The widget loads only on the domains listed for the assistant (ظاهر و رفتار). A domain also covers its subdomains: example.com allows www.example.com and shop.example.com. Anywhere else the widget stays hidden and logs a warning in the browser console.

Attributes

Prop

Type

Without data-theme and data-color the widget uses what you set in the panel, so you can restyle it later without touching your site.

Platforms

Paste the snippet into your shared footer template, just before </body>.

What visitors keep

The conversation is stored in the visitor's browser (localStorage), so it survives reloads and page changes on your site. Call Manova.reset() to start over, for example when a customer signs out.

Content Security Policy

If your site sends a Content-Security-Policy header, allow Manova:

script-src  https://manova.ir;
connect-src https://manova.ir;
img-src     https://manova.ir;

On this page