=== Infonix Multi-Agent Chat ===
Contributors: aditya9934
Tags: chat, lead capture, floating button, conversion, popup
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A business lead conversion plugin that converts visitors into instant chat leads through a floating chat widget, smart popup, and multi-agent routing.

== Description ==

**Infonix Multi-Agent Chat** helps website owners convert visitors into instant chat leads. Add a floating chat button, multi-agent popup, and smart triggers without any API keys.

= Key Features =

* Floating Chat Button - Customizable position (left/right), size, animation, and per-device visibility.
* Pre-Filled Messages - Dynamic tags: `{page_title}`, `{site_name}`, `{current_url}`.
* Multi-Agent Routing - Add team members with names, departments, contact numbers, profile images, and online/offline status.
* Smart Popup Triggers - Time delay, scroll-based, and exit intent triggers with mobile controls.
* Page Targeting - Show on all pages, homepage only, specific pages, or exclude selected pages. Filter by post type.
* Click Analytics - Track total clicks, agent-wise clicks, page-wise clicks, and device-wise clicks with date filtering.
* Shortcodes - `[infomuch_chat]` (primary), with `[infonix_chat]` and `[convertedge_chat]` compatibility aliases.
* Elementor Widget - Full Elementor integration with content and style controls.

= Compatibility Migration Notes =

* Existing settings from previous plugin builds are automatically migrated to current option keys.
* Existing analytics table data from previous plugin builds is automatically migrated to the current table.
* Legacy shortcodes `[infonix_chat]` and `[convertedge_chat]` remain active.

== Installation ==

1. Upload the `infonix-multi-agent-chat` folder to `/wp-content/plugins/`.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Navigate to **Infonix Chat** in the WordPress admin sidebar.
4. Add your agents, configure settings, and customize the design.
5. The floating widget will appear on your site automatically.

== Frequently Asked Questions ==

= Do I need an API key? =

No. The plugin uses direct chat links and works without any API key.

= Can I add multiple agents? =

Yes. Go to the Agents tab and add as many team members as you like, each with their own department, contact number, and status.

= Does it work with Elementor? =

Yes. After activation, you will find the "Infonix Multi-Agent Chat" widget in the Elementor editor.

= How does click tracking work? =

Clicks are recorded in a custom database table. View analytics in the plugin's Analytics tab with date range filtering.

= Will it slow down my site? =

No. CSS and JS are loaded only on pages where the widget is displayed.

== Screenshots ==

1. Admin General Settings
2. Agent Management
3. Popup Settings
4. Analytics Dashboard
5. Design Customization
6. Frontend Floating Widget
7. Frontend Popup with Agents

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.