=== StoreViq Analytics Connector ===
Contributors:       ilyaswpmd
Tags:               woocommerce, analytics, ai, insights, dashboard
Requires at least:  5.6
Tested up to:       7.0
Stable tag:         1.0.1
Requires PHP:       7.4
WC requires at least: 6.0
WC tested up to:    8.5
License:            GPLv2 or later
License URI:        https://www.gnu.org/licenses/gpl-2.0.html

AI-powered analytics and insights for your WooCommerce store. Real-time order sync, revenue dashboards, customer analytics, and AI recommendations.

== Description ==

**StoreViq** turns your WooCommerce data into clear, actionable insights — powered by AI.

Connect your store in minutes and get:

* 📊 **Revenue dashboards** — daily trends, totals, and average order value
* 🛍️ **Product analytics** — top sellers, units sold, revenue by product
* 👥 **Customer intelligence** — repeat rate, lifetime value, top spenders
* 🤖 **AI Chat** — ask questions about your store in plain English, get charts and answers instantly
* 💡 **AI Recommendations** — personalised, data-driven action items to grow your store
* 🔄 **Real-time sync** — orders push to StoreViq the moment they are created or updated

= How it works =

1. Create a free StoreViq account at [storeviq.com](https://storeviq.com)
2. Connect your WooCommerce store
3. Install this plugin and paste your API key
4. Done — your data syncs automatically from now on

= Privacy =

This plugin sends order data (order totals, product names, customer email, billing name) to the StoreViq service. No payment card data is ever transmitted. See [storeviq.com/privacy](https://storeviq.com/privacy) for the full privacy policy.

== Installation ==

1. Upload the `storeviq-connector` folder to `/wp-content/plugins/`
2. Activate the plugin in **Plugins → Installed Plugins**
3. Go to **WooCommerce → StoreViq**
4. Paste your API key from your [StoreViq Settings page](https://storeviq.com/dashboard/settings)
5. Click **Save Settings**

== Frequently Asked Questions ==

= Where do I get my API key? =
Log in to [storeviq.com](https://storeviq.com), go to **Dashboard → Settings**, and copy the Plugin API Key.

= Does it slow down my checkout? =
No. The plugin sends order data asynchronously (fire-and-forget) so your checkout speed is never affected.

= What data is sent to StoreViq? =
Order ID, status, date, total amounts, product names and quantities, and customer billing name and email. No payment card data is ever sent.

= Can I sync historical orders? =
Yes. Go to **WooCommerce → StoreViq** and click **Sync All Orders Now** to push all existing orders.

= Is it compatible with HPOS (High-Performance Order Storage)? =
Yes. The plugin declares full compatibility with WooCommerce's Custom Order Tables feature.

== Screenshots ==

1. Settings page — paste your API key and you are connected
2. StoreViq dashboard — revenue trends and KPIs
3. AI Chat — ask questions, get instant chart answers

== Changelog ==

= 1.0.0 =
* Initial release
* Real-time order sync on create, update, and status change
* Manual full-sync button
* Test connection button
* HPOS compatible

== Upgrade Notice ==

= 1.0.0 =
Initial release.
