=== WatsBridge – Chat Button ===
Contributors: watsbridge
Tags: whatsapp, chat button, click to chat, floating button, woocommerce
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.2.47
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a lightweight WhatsApp chat button with display rules, customization options, and local interaction analytics.

== Description ==

WatsBridge – Chat Button adds a lightweight, customizable WhatsApp chat button to your WordPress site.

It helps visitors contact you faster from desktop and mobile, while giving site owners practical control over where and how the button appears.

Unlike basic click-to-chat buttons, WatsBridge – Chat Button includes targeting rules, local interaction analytics, WooCommerce-aware visibility options, and optional cart opportunity insights when WooCommerce is active.

The plugin is designed as a clean, privacy-conscious first step toward professional WhatsApp communication for WordPress and WooCommerce stores.

= Key features =

* Add a floating WhatsApp chat button to your site
* Customize button label, color, size, border radius, position and shadow
* Choose where the button appears using page targeting rules
* Show or hide the button on desktop and mobile
* Add a display delay before the button appears
* Configure WooCommerce-aware visibility when WooCommerce is installed
* Track local button interactions inside WordPress
* View useful local analytics to understand engagement
* Estimate WooCommerce cart opportunity insights when relevant
* Keep the plugin usable even when WooCommerce is not installed

= Built for WordPress site owners =

WatsBridge – Chat Button is suitable for service businesses, local companies, online stores, consultants, agencies, and WooCommerce merchants who want a simple way to start conversations through WhatsApp.

= WooCommerce support =

When WooCommerce is installed, the plugin can adapt its visibility and insights to store-related pages and cart activity.

When WooCommerce is not installed, WooCommerce-specific analytics are hidden and the plugin remains focused on the WhatsApp button, targeting rules, and local interaction analytics.

= Privacy-conscious local analytics =

The plugin focuses on local WordPress-side analytics. It does not need an external account to display the button. Interaction events are stored locally in your WordPress database.

= Not affiliated with WhatsApp or Meta =

This plugin is not affiliated with, endorsed by, or sponsored by WhatsApp LLC or Meta Platforms, Inc. WhatsApp is a trademark of its respective owner.

== Installation ==

1. Upload the plugin ZIP file through Plugins > Add New > Upload Plugin.
2. Activate the plugin.
3. Open WatsBridge > WhatsApp Button.
4. Add your WhatsApp number and save your settings.
5. Adjust display rules, appearance and analytics options as needed.

== Frequently Asked Questions ==

= Does it require WooCommerce? =

No. WooCommerce is optional. If WooCommerce is not installed, store-specific insights are hidden and the plugin remains focused on the chat button and local interaction analytics.

= Does it require an external account? =

No. The button works without a WatsBridge account or external service.

= Does the plugin send WhatsApp messages automatically? =

No. This plugin opens a WhatsApp chat link for the visitor. It does not send automatic WhatsApp messages.

= Is this an official WhatsApp or Meta plugin? =

No. WatsBridge – Chat Button is not affiliated with, endorsed by, or sponsored by WhatsApp LLC or Meta Platforms, Inc.

= Where are analytics stored? =

Interaction analytics are stored locally in your WordPress database.

== Screenshots ==

1. Floating chat button on a website.
2. Button settings.
3. Button customization settings.
4. Display rules builder.
5. Local analytics dashboard.

== Changelog ==

= 1.2.46 =
* WordPress.org submission hardening.
* Improved plugin description and readme structure.
* Reduced promotional admin navigation.
* Added explicit textdomain loading.
* Improved local analytics attribute escaping.
* Added WhatsApp redirect host allowlisting for safe redirects.
* Improved uninstall cleanup for plugin-owned data.

= 1.2.45 =
* Production hardening and WooCommerce-aware analytics improvements.

== Upgrade Notice ==

= 1.2.46 =
WordPress.org submission hardening and documentation improvements.
