=== RescueFill — Abandoned Form Recovery & Lead Automation === Contributors: codefreex Tags: lead generation, abandoned forms, email marketing, contact form, marketing automation Requires at least: 6.2 Tested up to: 7.0 Stable tag: 2.2.0 Requires PHP: 8.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Stop losing 68% of your leads. Capture partial form entries in real-time, automate recovery emails, build visual funnels, and connect to Zapier, HubSpot & 12+ apps. == Description == **68% of visitors who start your form never finish it.** RescueFill captures their email the instant they type it — before they leave — and gives you a complete toolkit to bring them back automatically. No code. No complex setup. Works with Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Elementor Forms, and any HTML form on your site. [Learn more at rescuefill.com](https://rescuefill.com) | [Pro Addon](https://themefreex.com/rescuefill-pro) --- ### 🚀 What the Free Plugin Includes **Real-time Lead Capture** The tracker fires the moment a visitor types their email. Leads are saved silently in the background — zero impact on page speed, fully async. **Dashboard** See your recovery rate, total abandoned leads, recovered leads, and a live feed of recent activity — all from one clean screen. **Audience Lists** Create unlimited colour-tagged lists (e.g. "US Leads", "High Value", "Newsletter Opt-in") to segment leads for targeted campaigns. **Broadcast Campaigns** Send targeted recovery emails to any audience list via your site's built-in WordPress SMTP. Template tags include `{name}`, `{email}`, `{recovery_link}`, `{site_name}`, and more. **Lead Management** Full leads table with email search, status filter (Active / Abandoned / Recovered / Submitted), list filter, inline assign, and bulk assign. **REST API** Full CRUD REST API under `/wp-json/rescue/v1/` for programmatic access to leads, lists, campaigns, and settings. --- ### ⚡ Pro Addon — Everything in Free, Plus: The optional **[RescueFill Pro](https://themefreex.com/rescuefill-pro)** addon (`rescuefill-pro`) extends the free plugin with advanced automation features: | Feature | Free | Pro | |---|---|---| | Real-time lead capture | ✅ | ✅ | | Dashboard & analytics | ✅ | ✅ | | Audience lists | ✅ | ✅ | | Broadcast campaigns (SMTP) | ✅ | ✅ | | Lead management table | ✅ | ✅ | | REST API | ✅ | ✅ | | IP Geolocation (country, city, region) | — | ✅ | | Multi-step drip sequences | — | ✅ | | Visual drag-drop funnel builder | — | ✅ | | Location-based auto-list assignment | — | ✅ | | Brevo (Sendinblue) email API | — | ✅ | | SendGrid email API | — | ✅ | | Webhooks (Zapier, Make, n8n) | — | ✅ | | CSV & JSON export (up to 50k records) | — | ✅ | | Multi-subsequence campaigns | — | ✅ | | A/B testing | — | ✅ | | GDPR / CCPA consent mode | — | ✅ | | White-label / Agency mode | — | ✅ (Agency) | 👉 **[Get RescueFill Pro →](https://themefreex.com/rescuefill-pro)** --- ### 📊 Visual Funnel Builder (Pro) Build **n8n-style** automation canvases with drag-drop nodes: * ⚡ **Trigger** — fires when a lead is abandoned * 📧 **Send Email** — personalised email with merge tags * ⏰ **Wait / Delay** — pause for minutes, hours, or days * 🔀 **Condition** — branch Yes/No on country, status, email, or any lead field * 📋 **Assign List** — move the lead to a segment * 🔗 **Webhook** — POST to Zapier, Make, n8n, HubSpot, or any URL * 🏁 **End** — mark enrollment complete Ready-made templates: **Welcome Sequence** (3 emails over 3 days) and **Abandoned Form Recovery** (conditional branching). --- ### 🔗 Webhook Integrations (Pro) Connect to **12+ apps** with one-click webhook setup: * **Automation:** Zapier, Make (Integromat), n8n * **CRM:** HubSpot, Salesforce, ActiveCampaign * **Notifications:** Slack * **Email Marketing:** Mailchimp, Google Sheets * **SMS:** Twilio * **Custom:** any HTTP endpoint with HMAC signature verification Webhook events: `lead.created`, `lead.abandoned`, `lead.recovered`, `lead.submitted`, `email.sent`, `list.assigned` --- ### 📧 Email Sending Providers | Provider | Plan | Notes | |---|---|---| | WordPress SMTP | Free | Works with any WP SMTP plugin | | Brevo (Sendinblue) | Pro | Transactional API, high deliverability | | SendGrid | Pro | High-volume with analytics | --- ### 🏆 Supported Form Plugins Works out of the box with **Contact Form 7**, **WPForms** (Lite & Pro), **Gravity Forms**, **Ninja Forms**, **Elementor Forms**, **Formidable Forms**, and any HTML `
` with an email field. --- ### 🔐 Privacy & GDPR * GDPR Mode (Pro) — requires explicit consent before tracking * IP tracking on/off toggle * Location tracking on/off toggle * Data retention: auto-purge old leads after configurable days * Right to deletion: delete individual leads from the admin --- ### 🛠 Developer Friendly * Full REST API: `GET/POST/PATCH/DELETE` for leads, lists, campaigns, settings * WordPress action hooks: `rescue_lead_saved`, `rescue_lead_abandoned`, `rescue_lead_recovered` * Filter hooks: `rescue_allow_list_auto_assign_rules`, `rescue_list_auto_assign_rules`, `RESCUE_js_data` * Pro funnel API: `/wp-json/rfpro/v1/funnels/*` * GPLv2 licensed — full source code available == Installation == 1. Go to **Plugins → Add New** in your WordPress admin 2. Search for **"RescueFill"** and click **Install Now**, then **Activate** **Or manually:** 1. Upload the `rescuefill` folder to `/wp-content/plugins/` 2. Activate via **Plugins → Installed Plugins** 3. Navigate to **RescueFill** in your admin sidebar 4. Configure email settings under **Settings → Email** 5. The tracker starts capturing leads immediately — no configuration required **Pro Addon:** 1. Purchase at [themefreex.com/rescuefill-pro](https://themefreex.com/rescuefill-pro) 2. Download `rescuefill-pro.zip` from your account 3. Upload and activate alongside the free plugin 4. Enter your licence key at **RescueFill → Licence** == Frequently Asked Questions == = Does it slow down my website? = No. The tracker script is lightweight (< 7 KB), loads asynchronously, and sends data in the background. PageSpeed and Core Web Vitals are not affected. = Which form plugins does it support? = Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Elementor Forms, Formidable Forms, and any standard HTML `` with an email field. = Can I export leads? = The free plugin provides a full REST API for programmatic access. CSV and JSON export with custom field selection and filters (status, list, date range, country) is a Pro feature — up to 50,000 records per export. = Does the Pro addon require a separate purchase? = Yes. RescueFill Pro is a paid addon sold at [themefreex.com](https://themefreex.com/rescuefill-pro). It is a separate GPL-licensed WordPress plugin installed alongside the free plugin. No lock-in — all your data stays in your database. = How does the recovery link work? = Each lead gets a unique token. The `{recovery_link}` tag in your emails generates a link that takes the visitor back to the exact page where they were filling the form, with all their data pre-filled. = Does it work with multisite? = Yes. Each site in your network has independent lead data, settings, and lists. = Is it GDPR compliant? = The free plugin captures only the email and form fields the visitor types. All data can be permanently deleted from the admin. The Pro addon adds GDPR Mode (consent gate before any tracking begins), IP/location toggle, and configurable data retention auto-purge. = What is the difference between Sequences and the Funnel Builder? = **Sequences** (Pro) are simple linear drip email chains — great for a 3-step "You left something behind" follow-up series. The **Funnel Builder** (Pro) is a full visual canvas with branching, conditions, delays, list assignment, and webhook nodes — for complex multi-path automations. == Screenshots == 1. **Dashboard** — Real-time overview: total leads, abandoned count, recovery rate, recent lead feed, and status breakdown. 2. **Visual Funnel Builder** — Drag-drop node canvas: Trigger, Send Email, Wait/Delay, Condition, Assign List, Webhook, and End nodes. 3. **Lead Detail** — Full lead profile: email, form, page URL, country, city, IP address, timestamps, and list assignment. 4. **Audience Lists** — Colour-tagged lists with Create List modal showing name, colour, description, and Pro auto-assign rules. 5. **Email Sequences** — Multi-step drip editor with delay settings, subject, body, and merge tag helpers. 6. **Campaigns** — Broadcast campaign list with status, send count, and one-click send action. 7. **Integrations & Webhooks** — App directory with 12 integrations (Zapier, Make, n8n, HubSpot, Salesforce, ActiveCampaign, Slack, Mailchimp, Google Sheets, Airtable, Twilio, Custom). 8. **Export Leads** — CSV/JSON export with field selection, status/list/date filters, and max record limit. 9. **Settings / Email Providers** — WordPress SMTP (Free), Brevo and SendGrid (Pro) with test email button and sender info. == External Services == This plugin connects to the following third-party services when configured: **ip-api.com** — IP Geolocation (Pro addon only) Used to automatically detect the country, region, and city of each lead based on their IP address. Only called when a new lead is saved and geolocation is enabled. Service URL: https://ip-api.com | Privacy Policy: https://ip-api.com/docs/legal Disable in: Pro addon → Settings → Advanced → Disable IP Geolocation **Brevo (Sendinblue)** — Email delivery (Pro addon, requires API key) Used to send recovery and campaign emails via the Brevo transactional API. Service URL: https://www.brevo.com | Privacy Policy: https://www.brevo.com/legal/privacypolicy/ Only called when "Brevo" is selected as the active email provider. **SendGrid** — Email delivery (Pro addon, requires API key) Used to send recovery and campaign emails via the SendGrid v3 API. Service URL: https://sendgrid.com | Privacy Policy: https://sendgrid.com/policies/privacy/ Only called when "SendGrid" is selected as the active email provider. **themefreex.com** — Licence validation (Pro addon only) The Pro addon verifies licence keys against the Software License Manager API hosted at themefreex.com. Called once on activation and daily via WP Cron. Service URL: https://themefreex.com | Only called if the Pro addon is active. The free RescueFill plugin does **not** connect to any external services. == Changelog == = 2.2.0 = * Fixed: Lists page — Pro auto-assign rules panel now correctly appears when Pro addon is active (was always showing upsell) * Fixed: Funnel Builder — saved nodes and edges no longer display as 0 after save (double JSON-encoding bug in REST layer) * Fixed: isPro flag now read synchronously at React mount — eliminates flash of upsell/incorrect state on first render * New: Location auto-assign rules stored per list; passed through free plugin via WP filter hooks (clean separation) * New: Full Integrations screen with 12 app cards (Zapier, Make, n8n, HubSpot, Salesforce, ActiveCampaign, Slack, Mailchimp, Google Sheets, Airtable, Twilio, Custom Webhook) * New: Software License Manager (SLM) client in Pro addon — daily cron validation, REST status endpoint, graceful degradation * New: rescuefill-woo-licenses companion plugin for automated licence key delivery on the seller site = 2.1.2 = * Security: parameterised all database queries with $wpdb->prepare() * Funnel Builder UI polish — node drag handles, connection rendering * Multi-subsequence campaign follow-up steps * A/B testing framework scaffolding (beta) * Improved GDPR consent mode in tracker = 2.1.1 = * WordPress.org compliance update * Fixed: Inline scripts now use wp_add_inline_script() instead of direct script tags * Fixed: SQL queries use sanitize_key() with allowlist validation for column names * Fixed: All prefixes changed from 'rf' to 'rescue' for uniqueness (hooks, filters, options, classes) * Fixed: REST API namespace changed from rf/v1 to rescue/v1 * Removed: Pro addon code completely separated (sold separately on themefreex.com) = 2.1.0 = * Initial public release of RescueFill Pro addon * Free/Pro separation — Pro-only code fully removed from free plugin * Pro: Funnel Builder, Drip Sequences, Webhooks, Brevo/SendGrid, Location Auto-Lists, Export = 2.0.0 = * Major rebuild with React 18 admin UI * Added Audience Lists with colour tags * Added Broadcast Campaigns (SMTP) * Added REST API for all entities = 1.0.0 = * Initial release == Upgrade Notice == = 2.2.0 = Important fixes for Pro users: funnel builder nodes/edges now save correctly, and the auto-assign rules UI in Lists works as expected. All users should update. = 2.1.1 = Critical WordPress.org compliance update. Fixes SQL security, script enqueue method, and prefix uniqueness. Required for WordPress.org hosted installs.