=== LeadFlow Lite ===
Contributors:      brandcoremedia
Tags:              whatsapp, lead capture, whatsapp button, floating button, click to chat
Requires at least: 5.5
Tested up to:      7.0
Requires PHP:      7.4
Stable tag:        1.0.0
License:           GPLv2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

Floating chat button with lead capture popup. Saves leads to your WordPress database with admin dashboard, email notifications and Pro upgrade.

== Description ==

**LeadFlow Lite** adds a floating chat button to your WordPress site that opens a lead capture popup. When visitors submit their name and phone number, the lead is saved to your WordPress database AND your preferred messaging app opens automatically — so you can follow up instantly.

Unlike simple chat buttons, LeadFlow Lite actually **captures and stores leads** so you never lose a contact, even if the visitor never sends a message.

= Key Features (Free) =

* ✅ Floating chat button — fixed position, always visible
* ✅ Left or right placement with custom margin control
* ✅ Custom margin from edge and bottom
* ✅ Lead capture popup form — name + phone
* ✅ Leads saved to your WordPress database
* ✅ Admin dashboard with lead stats (today, week, month, all time)
* ✅ Latest 50 leads visible in dashboard
* ✅ Email notification on every new lead
* ✅ Auto-popup after 8 seconds (on/off)
* ✅ Button colour picker
* ✅ Pre-filled message
* ✅ Button tooltip text
* ✅ Works with any WordPress theme
* ✅ Honeypot bot protection
* ✅ Rate limiting (10 submissions per IP per hour)
* ✅ GDPR-friendly — all data stored on your own server
* ✅ Optional shortcode [walc_button]

= Works On Any Site Type =

LeadFlow Lite is used by hospitals and clinics, education institutions, real estate agencies, hotels, restaurants, eCommerce stores, law firms, gyms, travel agencies and more. Any business that wants to capture chat leads from their website will benefit immediately.

= LeadFlow Lite Pro =

[LeadFlow Lite Pro](https://waleadflow.com/pricing/) unlocks:

* 📊 Unlimited lead history
* 📥 CSV export with date and search filters
* 🏷️ Department / selection dropdown in form
* 📄 Page title in lead dashboard
* 💬 Editable chat bubble message (HTML supported)
* ⏱️ Custom popup delay or disable entirely
* 📱 Mobile only / desktop only / both visibility
* 📌 Full width sticky bar for mobile
* 🕐 Business hours and offline mode
* 🎯 UTM campaign parameter tracking
* 🔗 Webhook / Zapier integration
* 📧 Email field in form
* ✅ GDPR consent checkbox
* 📈 GA4 event tracking
* 🚫 Hide on specific pages
* 📜 Scroll trigger
* ⚡ Priority support

[Get LeadFlow Lite Pro →](https://waleadflow.com/pricing/)

= Privacy =

LeadFlow Lite does not send any data to external servers. All lead data is stored exclusively in your own WordPress database. No third-party analytics or tracking is included in the free version.

= Documentation =

Full documentation available at [waleadflow.com/documentation/](https://waleadflow.com/documentation/)

== Installation ==

1. Upload the `wa-leadflow` folder to `/wp-content/plugins/`
2. Activate the plugin through the **Plugins** menu in WordPress
3. Go to **LeadFlow Lite → Settings**
4. Enter your WhatsApp number (country code + number, no spaces or +)
5. The floating button will appear on your site immediately

= Configuration =

After activation:

1. Enter your WhatsApp number in Settings (e.g. 911234567890 for India)
2. Customise the pre-filled message, button colour and position
3. Enable email notifications to receive an alert for every new lead
4. View captured leads under **LeadFlow Lite → All Leads**

== Frequently Asked Questions ==

= Do I need WhatsApp Business? =

No. LeadFlow Lite works with both personal WhatsApp and WhatsApp Business accounts. Just enter your number in Settings.

= Where are leads stored? =

All leads are stored in your own WordPress database. No data is sent to external servers.

= What happens after the free lead limit? =

The dashboard shows the latest 50 leads. All leads are still captured and stored in your database — the dashboard simply shows the most recent 50. Upgrade to Pro to view your complete lead history.

= Does it work on mobile? =

Yes, the floating button and popup are fully responsive and work on all screen sizes and devices.

= Which browsers are supported? =

LeadFlow Lite is tested and works on Chrome, Firefox, Safari, Edge, and Brave on both desktop and mobile — including Safari on iPhone/iPad and Chrome on Android.

= Can I place the button on the left side? =

Yes. Go to Settings and choose Left or Right placement, along with the exact pixel margin from the edge.

= Can I use a shortcode? =

Yes. Use [walc_button] to embed a WhatsApp chat button inside any page or post content.

= Is it GDPR compliant? =

The free version stores name, phone number, page URL, and IP address in your own WordPress database. You are responsible for including this data collection in your site's privacy policy. Pro adds a GDPR consent checkbox to the form.

= How do I get support? =

Post in the [support forum](https://wordpress.org/support/plugin/leadflow-lite/). For priority support, [upgrade to Pro](https://waleadflow.com/pricing/).

== Screenshots ==

1. Floating WhatsApp button appears automatically on every page
2. Lead capture popup — name and phone captured before WhatsApp opens
3. Admin dashboard — all leads with stats, page title and one-click reply
4. Settings page — configure in 5 minutes with Pro upgrade sidebar
5. Instant email notification with one-click WhatsApp reply button
6. Fully responsive — works perfectly on all mobile devices
7. Free vs Pro comparison — upgrade anytime from waleadflow.com
8. Used by hospitals, schools, agencies and businesses worldwide

== Changelog ==

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release of LeadFlow Lite.