=== SmartBot — AI Chatbot ===
Contributors: studiomeyerio
Tags: chatbot, ai, customer support, live chat, ai chatbot
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add an AI-powered chatbot to your WordPress site in 30 seconds. No coding required.

== Description ==

SmartBot is an AI-powered chatbot that learns from your website content and answers visitor questions 24/7.

**Features:**

* AI-powered responses trained on your site content
* Visitor memory across sessions
* Support ticket escalation
* Custom branding (colors, position, name)
* Multi-language support (German, English, Spanish)
* GDPR-compliant — no cookies required
* Mobile-responsive floating widget
* Shortcode support for selective embedding

**How it works:**

1. Start your free trial at [smartbot.studiomeyer.io/register](https://smartbot.studiomeyer.io/register)
2. Get your Tenant ID after setup
3. Install this plugin and enter your Tenant ID
4. Done — your AI chatbot is live

**Display Options:**

* Show on all pages (global)
* Exclude specific pages by ID
* Show only via `[smartbot]` shortcode

**Want more?**

[SmartBot Pro](https://studiomeyer.io/store/smartbot-wp-pro) adds powerful features:

* 📊 Analytics Dashboard — conversations, messages, visitor stats
* 🎨 Custom Branding — colors, position, bot name
* 📥 CSV Export — download conversation data
* ⚡ Priority Support

== Installation ==

1. Upload the plugin to `/wp-content/plugins/smartbot-wp/`
2. Activate the plugin through the 'Plugins' menu
3. Go to Settings > SmartBot
4. Enter your Tenant ID (from your SmartBot dashboard)
5. Save — your chatbot is now live

== Frequently Asked Questions ==

= Do I need an API key? =

No API keys needed. You just need a SmartBot account and your Tenant ID.

= How much does SmartBot cost? =

SmartBot has a free plan with 50 messages per month — no credit card needed. Paid plans start at 19 EUR/month for 2,000 messages. Visit studiomeyer.io/store/smartbot-ai for details.

= Is it GDPR compliant? =

Yes. SmartBot uses no cookies, no tracking pixels, and no third-party analytics. Visitor sessions use a randomly generated ID stored in localStorage.

= Can I customize the appearance? =

Yes. Colors, position (left/right), bot name, and greeting message can all be customized in your SmartBot dashboard.

= Is there a Pro version? =

Yes! SmartBot Pro adds analytics, custom branding, CSV export, and priority support. Visit studiomeyer.io/store/smartbot-wp-pro for details.

= Does it work with page builders? =

Yes. The widget loads as a floating overlay that works with any theme or page builder (Elementor, Divi, Beaver Builder, etc.).

== Third-Party Services ==

This plugin relies on the StudioMeyer SmartBot SaaS service to function. The chatbot widget is loaded from and powered by StudioMeyer servers.

= SmartBot SaaS =

* **Service URL:** `https://smartbot.studiomeyer.io`
* **What is loaded:** The chatbot widget script and chat interface
* **Data sent:** Visitor messages, session ID (random, not personally identifiable), your Tenant ID
* **When:** On every page load where the chatbot is displayed
* **Purpose:** AI-powered chatbot responses trained on your site content
* **Privacy Policy:** [https://studiomeyer.io/privacy](https://studiomeyer.io/privacy)
* **Terms of Service:** [https://studiomeyer.io/terms](https://studiomeyer.io/terms)

Start your 14-day free trial at [smartbot.studiomeyer.io/register](https://smartbot.studiomeyer.io/register). No credit card required.

== Screenshots ==

1. SmartBot settings page — enter your Tenant ID and configure display options.
2. Connection status banner — shows if SmartBot is connected and active.
3. Floating chatbot widget — the AI chatbot appears on your website.

== Changelog ==

= 1.0.4 =
* New: Free trial registration — get started in 30 seconds at smartbot.studiomeyer.io/register
* New: Direct signup link in plugin settings (no manual Tenant ID needed)
* Improved: Browser autofill support for email fields
* Improved: Updated translation template (.pot file)

= 1.0.3 =
* Enhanced privacy policy text (OpenAI Zero Data Retention, EU servers, localStorage)
* GDPR compliance improvements

= 1.0.2 =
* Added Pro upgrade path and feature highlights
* Added Go Pro link to plugin action links
* Added one-time activation notice with setup guidance

= 1.0.1 =
* Added WordPress Privacy Policy integration
* Improved transient cache cleanup on settings change
* Fixed output escaping for PCP compliance
* Tested up to WordPress 6.9

= 1.0.0 =
* Initial release
* Tenant ID connection with validation
* Global, selective, and shortcode display modes
* Page exclusion support
* Admin settings page with connection status

== Upgrade Notice ==

= 1.0.4 =
Free trial registration is now available! Sign up at smartbot.studiomeyer.io/register to get your Tenant ID in seconds.

= 1.0.3 =
* Enhanced privacy policy text (OpenAI Zero Data Retention, EU servers, localStorage)
* GDPR compliance improvements

= 1.0.2 =
Added Pro upgrade path and feature highlights.

= 1.0.1 =
Improved compliance and privacy policy integration.

= 1.0.0 =
Initial release.
