=== Wapadesk ===
Contributors: egedigital
Tags: whatsapp, clinic, lead generation, chat, intake
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The advanced WhatsApp button for clinics: a short chat funnel before WhatsApp, every answer saved as a lead.

== Description ==

Wapadesk replaces the plain WhatsApp button on your site with a conversational pre-consultation intake. Patients answer a few questions in a chat-style window, then continue on WhatsApp with a pre-filled message that contains all their answers. Every answer is saved to your Wapadesk dashboard as it is given, so you also see the people who never pressed send.

This plugin only adds the Wapadesk snippet to your pages. The button's position, colour, call to action, opening hours, agents, page targeting and the questions themselves are configured in your Wapadesk dashboard at https://app.wapadesk.com.

* No database tables, no bundled JavaScript, nothing on the page besides one async script.
* Works with any theme and page builder, including Divi and Elementor.
* Excludes itself from delay/combine in WP Rocket, LiteSpeed Cache, Autoptimize and Perfmatters.
* Sends no cookies and does not trigger your cookie banner.

== Installation ==

1. Install and activate the plugin.
2. Go to Settings → Wapadesk and paste the Clinic ID from your Wapadesk dashboard (Install page).
3. Save. The button appears on your site; the Install page in the dashboard confirms it.

== Frequently Asked Questions ==

= Where are the questions and the WhatsApp number set? =
In the Wapadesk dashboard. The plugin never stores them.

= Can I hide the button on some pages? =
Yes: list page IDs, slugs or paths such as /checkout/* under Exclude pages. Page targeting by URL pattern is also available in the dashboard.

== Changelog ==

= 1.0.0 =
* First release: settings page, async snippet in wp_head, page exclusions, cache-plugin exclusions, install verification endpoint.
