=== Boorsuc Visitor Doctor ===
Contributors: soundrob, boorsuc
Donate link: https://boorsuc.com/
Tags: analytics, visitor tracking, conversions, heatmap, behavior
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 0.4.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Understand how people use your site: anonymous journeys, conversion goals, friction patterns, and optional AI recommendations.

== Description ==

Boorsuc Visitor Doctor records anonymous on-site behavior (when you enable tracking) and helps you see where visitors get stuck.

**What you get (free)**

* First-party anonymous tracking (page views, clicks, scroll, forms, search, WooCommerce) — **off by default**
* Conversion discovery and conversion actions
* **Analyze Visitor Behavior** runs: journeys, patterns, content context, optional AI diagnosis
* Last 10 analysis history runs

**Boorsuc Visitor Doctor Pro** is a **separate paid add-on** sold on [boorsuc.com](https://boorsuc.com/) (not a locked license inside this free plugin). It unlocks Performance insights, full history, activity log, custom conversion actions, and CSV export. Install the Pro plugin from boorsuc.com/downloads/, then activate your Stripe license key under Settings.

Numbers will not match Google Analytics or ad pixels 1:1. Tracking is for diagnosing friction on your site, not a guarantee of higher conversions. You remain responsible for privacy policy, cookie consent, and lawful basis. See [Disclaimer & limitations](https://boorsuc.com/disclaimer-limitations/).

== External services ==

This plugin can connect to third-party services when you use optional features. No data is sent until you enable AI (or, for the optional Pro add-on, activate a license).

**OpenRouter** (optional BYOK AI)

* When: You enable AI and provide your own OpenRouter API key (or set one in wp-config).
* Data sent: Aggregated evidence (issue codes, counts, paths — not raw visitor PII by design) needed for diagnosis. Passwords, payment data, and full site dumps are not sent.
* Terms: https://openrouter.ai/terms
* Privacy: https://openrouter.ai/privacy

**Boorsuc AI proxy** (optional included AI)

* When: AI is enabled and you are not using your own OpenRouter key. Requests go to `boorsuc-ai-proxy.boorsuc.com`.
* Data sent: Same as above — aggregated analysis evidence for free-model suggestions.
* Disclaimer / limitations: https://boorsuc.com/disclaimer-limitations/
* Site: https://boorsuc.com/

**License server** (optional Pro add-on only)

* Used only by the separate **Boorsuc Visitor Doctor Pro** add-on when you activate or revalidate a license.
* Data sent: license key and site URL to `license-server.boorsuc.com`.
* The free plugin on WordPress.org does not contact the license server.

== Installation ==

1. Upload the `boorsuc-visiter-doctor` folder to `/wp-content/plugins/`, or install via **Plugins → Add New → Upload Plugin**.
2. Activate **Boorsuc Visitor Doctor**.
3. Configure privacy / CMP, then enable tracking under **Settings** only when ready.
4. Open **Conversions** → analyze possible conversions → add goals.
5. Collect traffic as a non-admin visitor, then run **Analyze Visitor Behavior** on the Dashboard.
6. Optional: for Pro features, buy on boorsuc.com, install **Boorsuc Visitor Doctor Pro**, then activate your license under **Settings**.

== Frequently Asked Questions ==

= Is tracking on by default? =

No. Tracking starts off. Enable it after your privacy notice and consent setup are in place.

= Does this replace Google Analytics? =

No. It answers a different question: what people did on your WordPress site and where they struggled. Expect different totals than GA or ads tools.

= How does consent work? =

Use **Require consent** with CookieYes, Complianz, the `boorsuc_visit_has_tracking_consent` filter, or front-end consent events. See Settings → Privacy & CMP setup.

= How do I get Pro? =

Buy the subscription on boorsuc.com (Stripe). Download and install the **Boorsuc Visitor Doctor Pro** add-on, then activate the license key emailed after checkout.

= Where is the disclaimer? =

https://boorsuc.com/disclaimer-limitations/

== Screenshots ==

1. Visitor analysis dashboard
2. Conversions / goals screen
3. Privacy & CMP setup panel

== Changelog ==

= 0.4.1 =
* Guideline 5 (Yoast-style): free plugin no longer gates Pro UI behind a license; Pro add-on owns full history, activity log, CSV, Performance insights, and custom conversions
* Free History shows last 10 runs by design plus Pro teasers; Export CSV (Pro) upsell link only
* Contributors: soundrob (primary); External services section with OpenRouter and Boorsuc AI proxy terms/privacy links
* Removed load_plugin_textdomain (WordPress.org language packs)

= 0.4.0 =
* Pro license moved to separate Boorsuc Visitor Doctor Pro add-on (filter boorsuc_visit_is_pro)
* Free plugin no longer contains license activation UI — install and activate the Pro add-on for Pro features
* Bump version to 0.4.0

= 0.3.4 =
* Previous release for WordPress.org packaging
* Tracking, conversions, AI diagnosis, Pro license, and disclaimer links

== Upgrade Notice ==

= 0.4.1 =
History, CSV, Performance insights, activity log, and custom conversions move to the Pro add-on (Yoast-style). Free keeps last 10 history runs. Install Boorsuc Visitor Doctor Pro from boorsuc.com for full Pro features.

= 0.4.0 =
License activation is now in the separate Boorsuc Visitor Doctor Pro add-on. Install the Pro zip from boorsuc.com and activate your license key there.
