=== LeadPilot WP ===
Contributors: markoantic
Tags: leads, crm, contact form, marketing, local business
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.3.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Smart lead capture widget and lightweight CRM for local business WordPress sites.

== Description ==

LeadPilot WP adds a floating lead widget to your site. Visitors answer a few business-specific questions, leave contact details, and the lead is saved in WordPress admin.

Free features:

* One floating or shortcode widget.
* Eight ready-made business templates.
* Three lead qualification questions.
* Required contact consent checkbox.
* Anti-spam protection: honeypot, minimum submit time, rate limit and optional Cloudflare Turnstile.
* Email notifications.
* Lightweight CRM statuses: new, contacted, booked, lost.
* CRM screen with lead cards, quick actions and internal notes.
* Setup wizard.
* Basic widget analytics.
* Basic source and UTM capture.

Pro package:

LeadPilot WP Pro is a Funnel & CRM Toolkit for local business sites. Free captures leads. Pro helps owners respond faster, automate follow-up and export leads for sales work.

Pro features:

* Premium industry templates.
* Abandoned lead capture for started but unfinished forms.
* Custom questions from admin settings.
* CSV lead export with source, device, reminder and consent data.
* Kanban CRM view.
* Drag and drop status changes.
* Lead score, reminder date and advanced CRM filters.
* Rich lead profile with quick call/email/WhatsApp actions.
* Test email and test webhook tools.
* Automatic cleanup for old unfinished leads.
* Conversion analytics.
* Webhook POST for new leads.
* Auto-reply email.
* WhatsApp continuation link after submission.
* One Pro license key for one site.

Agency package:

* Agency license for up to ten client sites.
* Agency key format: `LPWP-AGENCY-XXXX-XXXX`.

Pricing:

* 49 EUR / year for one Pro site.
* 149 EUR / year agency package for up to ten sites.

Manual purchase flow:

1. Buyer sends a Pro license request by email.
2. Seller replies with payment instructions.
3. After payment, seller sends a key in this format: `LPWP-PRO-XXXX-XXXX` or `LPWP-AGENCY-XXXX-XXXX`.
4. Buyer enters the key in LeadPilot WP settings.
5. LeadPilot WP Pro verifies the key against your private license API and unlocks premium features only when the license is active for that site.

== Installation ==

1. Upload the `leadpilot-wp` folder to `/wp-content/plugins/`.
2. Activate LeadPilot WP from the Plugins screen.
3. Go to LeadPilot WP > Settings.
4. Pick a business type and customize the widget text.

You can also place the widget manually with shortcode:

`[leadpilot_widget]`

== Changelog ==

= 1.0.0 =
Initial release.

= 1.2.0 =
Free: added contact consent, launcher label setting and eight templates. Pro support: CRM fields for abandoned leads, devices, reminders and consent.

= 1.3.0 =
Added anti-spam controls, optional Cloudflare Turnstile support, richer lead profiles and Pro support for integration tests and abandoned lead cleanup.
