=== SellSight - DynamicUX ===
Contributors: sellsight
Tags: woocommerce, dynamic pricing, behavioral pricing, conversion optimization, pricing rules
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Boost WooCommerce sales with behavior-based dynamic pricing. Automatically adjust prices based on how customers browse your products.

== Description ==

**SellSight DynamicUX** turns your WooCommerce store into a smarter selling machine. Instead of static prices for everyone, it adjusts prices automatically based on real customer behavior - rewarding high-intent shoppers and recovering browsers who haven't converted yet.

**How It Works:**

1. The plugin silently tracks anonymous product views using session IDs (no personal data collected)
2. When a customer's view count hits your configured threshold, a pricing rule triggers
3. The discounted price is applied automatically in real-time - no page refresh needed
4. All calculations are handled securely via the SellSight backend

**Key Features:**

* **Behavioral Pricing Rules** - Trigger discounts based on product view count per session
* **Display Strategy** - Choose how discounts appear: urgency banner, inline badge, countdown timer, and more
* **Privacy-First Tracking** - Anonymous session IDs only, no cookies with personal data, GDPR-compliant
* **Easy Setup** - Connect to the hosted SellSight backend in minutes, no server required

**Perfect For:**

* WooCommerce stores with repeat browsers who don't convert
* Merchants who want to test pricing strategies without guesswork
* Stores looking to increase add-to-cart rates without blanket discounts

== Installation ==

**Automatic Installation:**

1. Go to WordPress Admin > Plugins > Add New
2. Search for "SellSight DynamicUX"
3. Click "Install Now" and then "Activate"
4. Go to DynamicUX > Settings to connect your store

**Manual Installation:**

1. Download the plugin zip file
2. Upload to `/wp-content/plugins/` directory
3. Activate through the Plugins menu
4. Go to DynamicUX > Settings to connect your store

**Setup:**

1. Navigate to DynamicUX > Settings
2. Click "Generate API Key" to connect to the SellSight hosted backend
3. Enable dynamic pricing
4. Go to DynamicUX > Pricing Config > Add New Rule to create your first rule

== Frequently Asked Questions ==

= Is this free? =

Yes. The plugin is free and fully functional — create unlimited pricing rules with 7-day data retention.

= What data does this plugin collect? =

Only anonymous browsing behavior:
* Product view events (product ID and timestamp)
* Anonymous session IDs (browser-generated UUID, no personal information)
* IP addresses (used only for fraud prevention, not stored long-term)

We do NOT collect names, emails, payment details, or any personally identifiable information.

= How long is data stored? =

7 days. Data is automatically purged on a daily schedule.

= Does this comply with GDPR? =

Yes. The plugin collects only anonymous data, has short configurable retention periods, and does not use cross-site tracking. See our full privacy policy at https://sell-sight.com/privacy-policy.html

= Does this work with variable products? =

Yes, the plugin supports both simple and variable WooCommerce products.

= Will this slow down my site? =

No. Tracking uses asynchronous JavaScript (non-blocking), and price calculations are cached to minimize API calls.

= Can I self-host the backend? =

The current version connects to the SellSight hosted backend. Self-hosting support is planned for a future release.

== Screenshots ==

1. Pricing Config - Create and manage dynamic pricing rules
2. Rule Setup - Configure view-count thresholds and discount percentages
3. Display Strategy - Choose how discounts are shown to customers
4. Display Settings - Choose between Silent, Subtle, and Aggressive presentation modes with live preview
5. Live Result - Discounted price shown automatically on a product page after threshold is reached

== Changelog ==

= 0.1.0 =
* Initial release
* Behavioral pricing rules based on product view count
* Multiple display strategies (urgency banner, inline badge, countdown timer)
* Privacy-compliant anonymous session tracking
* 7-day data retention with automatic cleanup
* GDPR-ready privacy disclosures

== Privacy Policy ==

This plugin collects and processes data to enable dynamic pricing functionality.

**What We Collect:**
* Product view events (product ID, timestamp)
* Anonymous session IDs (browser-generated UUID)
* IP addresses (for fraud prevention only, not stored long-term)
* Store configuration (URL, timezone, currency)

**How We Use It:**
* Calculate personalized product prices based on browsing behavior
* Detect fraudulent behavior patterns
* Analyze aggregated, anonymized trends

**Data Retention:**
* Browsing data: 7 days (automatically purged)
* Pricing rules: Until you delete them
* Account data: Until plugin deactivation

**Your Rights:**
* Delete all your store's data at any time via Settings
* Opt-out by disabling the plugin

**Third-Party Services:**
* Data is hosted on Google Cloud Platform (US-WEST1)
* GCP Privacy Policy: https://cloud.google.com/privacy

**Data Sharing:**
* We do not sell or share your data with third parties

**Full Privacy Policy:**
https://sell-sight.com/privacy-policy.html

**Contact:**
Email: privacy@sell-sight.com

== Third Party Services ==

This plugin relies on the following external services and libraries:

**SellSight API (api.sell-sight.com)**
This plugin sends anonymous product view data and pricing rule requests to the SellSight backend API. No personal data is transmitted — only session IDs and product identifiers.
- Service: https://sell-sight.com
- Terms of Use: https://sell-sight.com/terms.html
- Privacy Policy: https://sell-sight.com/privacy-policy.html

**Select2 (v4.1.0-rc.0)**
A jQuery-based select box enhancement library, bundled locally with this plugin. Used in the admin rule configuration interface.
- Source: https://github.com/select2/select2
- License: MIT License (https://github.com/select2/select2/blob/develop/LICENSE.md)

== Credits ==

SellSight DynamicUX is developed and maintained by SellSight.
