=== Demitr === Contributors: dcodetechnologies Tags: chatbot, ai, gdpr, chat widget, live chat Requires at least: 6.4 Tested up to: 6.9 Stable tag: 1.2.0 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Add a GDPR-compliant AI chat widget to your WordPress site that answers visitor questions automatically. == Description == Demitr adds an AI chat widget to your WordPress site. The AI answers visitor questions about your business — hours, services, prices, location — because you tell it what to say. = Why Demitr? = * **Knows your business** — Enter your details once, the AI handles the rest * **GDPR by design** — Consent gate, no cookies, no persistent storage, PII anonymization * **EU-sovereign AI** — Powered by Mistral (Paris). Hosted on Hetzner (Germany). Data stays in the EU * **30-second setup** — Install, enter your info, enable. Done * **6 European languages** — English, French, German, Dutch, Italian, Spanish. AI responds in the visitor's language * **Customizable** — Brand name, accent color, position, language = Two Modes = **Free mode:** Configure business details in WordPress admin. The AI uses them to answer questions. **Paid mode:** Enter your API key from [demitr.ai](https://demitr.ai). Widget config is managed from the dashboard. = External Service = This plugin sends chat messages to the Demitr API for AI processing. You configure the endpoint in Settings > Demitr Chat. * **Default endpoint:** [demitr.ai](https://demitr.ai) * **Provider:** dcode technologies S.a r.l., Luxembourg * **Terms of Service:** [demitr.ai/terms](https://demitr.ai/terms) * **Privacy Policy:** [demitr.ai/privacy](https://demitr.ai/privacy) **Data sent:** visitor message (PII tokenized), session ID (random UUID), business context, consent flag. **Data NOT sent:** IP address, cookies, personal identifiers, browsing history. You can self-host the API for full data control by configuring the API endpoint URL in the plugin settings. == Installation == 1. Upload the plugin to `/wp-content/plugins/demitr/` or install via Plugins > Add New 1. Activate the plugin 1. Go to Settings > Demitr Chat 1. Enter your API endpoint URL (or use the default demitr.ai) 1. Fill in your business name, type, hours, and services 1. Check "Enable Widget" and save == Frequently Asked Questions == = Is it GDPR compliant? = Yes. Explicit consent gate before any processing. No cookies. No persistent storage. PII anonymized. EU-only infrastructure. = Does it use cookies? = No. SessionStorage only — cleared when the tab closes. = What AI model is used? = Mistral Small by Mistral AI (Paris, France). EU-sovereign — no international data transfers. = Can I self-host the API? = Yes. Set the API endpoint URL in the plugin settings to point to your own Demitr API server instead of demitr.ai. = Does it work with caching plugins? = Yes. The widget runs client-side. Compatible with all caching plugins. == Screenshots == 1. Settings page with business card configuration 2. Chat widget on a live website 3. GDPR consent gate before first message 4. Compliance checklist in admin == Changelog == = 1.0.2 = * Renamed main plugin file from `demitr-wp.php` to `demitr.php` to match the WordPress.org slug convention * Removed remaining inline `style=""` attributes from admin notice — moved to admin CSS class * JS now toggles classes via `classList.toggle()` instead of writing to `element.style.display` = 1.0.1 = * Replaced inline `