=== Intunix ===
Contributors: intunix
Tags: surveys, nps, csat, feedback, in-app messages
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

In-app surveys, NPS, CSAT and feedback forms powered by Intunix, the AI-native experience management platform.

== Description ==

This is the official WordPress companion plugin for [Intunix](https://intunix.com), the AI-native experience management platform.

Intunix adds the Intunix SDK to your WordPress site's front-end. Enter your API key, choose which forms to auto-register, and Intunix shows in-app surveys, NPS, CSAT, and feedback experiences driven by triggers you configure in the official [Intunix Portal](https://intunix.com). No theme editing required.

To use this plugin, you must have an active account on the core website. You can create your account directly at [intunix.com](https://intunix.com).

You can also attach an Intunix form to a button without code — either via the **Intunix** panel on the block editor's Button block, or by enabling the site-wide **Floating button** in Settings → Intunix.

= Features =

* One-field setup: paste your Intunix API key from your [Intunix Dashboard](https://intunix.com).
* Auto-register forms by slug or id.
* Optional auto-identify of logged-in users (id, email, name, roles).
* No-code form triggers: a Button-block panel and a site-wide floating button.
* Elementor: a dedicated "Intunix Form" widget with a form picker.
* WooCommerce: open a form on store actions (order, checkout, abandonment, refund …) — no analytics events.

== Installation ==

1. Create your account at [intunix.com](https://intunix.com).
2. Upload the `intunix` folder to `/wp-content/plugins/`, or install the zip via Plugins → Add New → Upload.
3. Activate the plugin.
4. Go to Settings → Intunix and paste your API key.

== Privacy ==

When "Auto-identify logged-in users" is enabled, the plugin sends the logged-in user's WordPress user id, email address, display name, and roles to Intunix (https://intunix.com) so experiences can be targeted and responses attributed. With the option disabled, only anonymous session data is sent. See the official privacy documentation at https://intunix.com/privacy.

== Changelog ==

= 1.1.0 =
* Add an "All forms" option to Register Forms: load every form enabled for the Web SDK, instead of naming each one. Previously the setting could only ever produce a list of slugs, so there was no way to ask for the whole catalog.

= 1.0.0 =
* Add an Elementor "Intunix Form" widget: pick a form from a dropdown and emit the Intunix data attributes, no code.
* Add WooCommerce form triggers: open a form on store actions (order, checkout, abandonment, refund and more) via an Action → form map. No analytics events.
* Add a dashboard login link (https://app.intunix.com) to the settings page.
* Add WooCommerce events module: emits no-PII events for order/checkout/refund lifecycle moments, with an optional in-plugin event→form map.
* Add no-code form triggers: an "Intunix" panel on the core Button block and a site-wide floating button, both configurable without editing code.
* Add a REST proxy that lists your account's forms to populate the pickers.
* Initial release: SDK embed, settings page, optional auto-identify.
