=== MiVerto - AI Assistant for Stores and Websites ===
Contributors: airtilion
Tags: ai, chatbot, assistant, chat, artificial intelligence
Requires at least: 5.9
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add an AI assistant to your WordPress site in seconds — no coding required.

== Description ==

**MiVerto Widget** lets you embed an intelligent AI chat assistant on your WordPress site using a single widget key. Once configured, the assistant loads automatically on every page and is ready to help your visitors — answering questions, supporting sales, and increasing conversions.

= How it works =

1. Create an account at [miverto.pl](https://miverto.pl) and set up your AI assistant.
2. Copy your widget key from the **Deployment** tab in the MiVerto panel.
3. Paste the key into the plugin settings — done.

The assistant appears on your site immediately — no theme edits or coding required.

= Features =

* Single-field setup — just paste your widget key
* Loads automatically on every page (front-end only)
* Works with any WordPress theme and WooCommerce
* No slowdowns — script loaded asynchronously with the `defer` attribute
* Cleans up on uninstall (no leftover database entries)
* Compatible with WordPress Multisite

= Requirements =

An active [MiVerto](https://miverto.pl) account is required to use this plugin. The widget connects to the MiVerto API to power the AI assistant.

== Installation ==

1. Upload the `miverto-widget` folder to `/wp-content/plugins/`.
2. Activate the plugin via **Plugins → Installed Plugins**.
3. Go to **AI Assistant** in the WordPress admin menu.
4. Paste your widget key from [miverto.pl/panel/wdrozenie](https://miverto.pl/panel/wdrozenie).
5. Click **Save key** — the assistant is now live on your site.

== External services ==

This plugin connects to the MiVerto API to power the AI assistant widget.

**What is sent:** visitor messages and page context are transmitted to MiVerto servers when a visitor interacts with the assistant.

**When:** the widget script loads on every public page where the plugin is active and a valid widget key is configured.

**Service provider:**

* Website: [https://miverto.pl](https://miverto.pl)
* Terms of Service: [https://miverto.pl/regulamin-swiadczenia-uslug-droga-elektroniczna](https://miverto.pl/regulamin-swiadczenia-uslug-droga-elektroniczna)
* Privacy Policy: [https://miverto.pl/polityka-prywatnosci](https://miverto.pl/polityka-prywatnosci)

By activating this plugin and entering a widget key, you agree to MiVerto's Terms of Service and Privacy Policy.

== Privacy ==

This plugin does not collect or store any visitor data itself. All data processing is handled by the MiVerto service. For details, refer to the [MiVerto Privacy Policy](https://miverto.pl/polityka-prywatnosci).

Site administrators are responsible for informing their visitors about the use of the MiVerto AI assistant and any data it processes, in accordance with applicable privacy laws (e.g. GDPR, CCPA).

The plugin automatically registers suggested privacy policy text — you will find it in your dashboard under **Settings → Privacy**.

== Frequently Asked Questions ==

= Do I need a MiVerto account? =

Yes. The plugin is an interface to the MiVerto AI assistant service. You can create an account at [miverto.pl](https://miverto.pl).

= Where do I find my widget key? =

Log in to the MiVerto panel and go to the **Deployment** tab. Your widget key is displayed there.

= Will the assistant slow down my site? =

No. The widget script uses the `defer` attribute, which means it loads after the main page content and does not block rendering.

= What happens when I deactivate the plugin? =

The widget script will no longer be injected into your pages. Your MiVerto account and assistant configuration remain unaffected.

= What happens when I delete the plugin? =

The plugin removes all stored data (the widget key) from the WordPress database on uninstall. Your MiVerto account is not affected.

= Is the plugin compatible with Multisite? =

Yes. On uninstall, the plugin removes its data from all sites in the network.

== Screenshots ==

1. The plugin settings page — paste your widget key and save.
2. Status indicator showing the assistant is active.
3. The generated script tag (injected automatically — no manual editing needed).

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.