=== CXTailor Funnels ===
Contributors: cxtailorik, cxtailor
Tags: customer journey, funnels, video funnels, no-code, cx tailor
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Edit customer journeys, video funnels and CX Tailor experiences directly from WordPress without switching between platforms.

== Description ==

CX Tailor is a modern no-code customer journey builder that lets you create interactive experiences, video funnels, multi-step flows and branching paths without any technical skills.

This plugin connects your WordPress site directly to your CX Tailor workspace, enabling you to embed and manage all your journeys easily inside WordPress. Every update you make in CX Tailor can instantly appear on your WordPress pages, creating a fast, seamless and highly efficient workflow.

### Key features of CX Tailor

* **No-code journey creation** – Build customer journeys visually without writing a single line of code.  
* **Interactive CTAs** – Add call-to-action buttons inside the journey flow.  
* **Smart surveys** – Use simple questions to personalize the visitor experience.  
* **Branching paths** – Create dynamic, choose-your-own-path journeys.  
* **Multi-step & video funnels** – Combine steps, videos and guided flows to increase engagement.  
* **A/B testing** – Compare different journey versions to optimize conversions.  
* **Human-readable analytics** – Understand visitor behavior with intuitive reporting.

### Plugin capabilities

* Connect your WordPress site to your CX Tailor account  
* Manage and update journeys without leaving the WordPress dashboard  
* Embed any journey using Gutenberg blocks or shortcodes  
* Instantly reflect updates made inside CX Tailor  
* Remove the need for repetitive back-and-forth editing between platforms  

CX Tailor helps you create meaningful, conversion-focused user experiences—and this plugin brings that workflow directly inside WordPress.

== Installation ==

### Install through the WordPress Dashboard

1. Open **Plugins → Add New**  
2. Search for **“CXTailor Funnels”**  
3. Click **Install Now**, then **Activate**

### Or install manually

1. Download the plugin ZIP file  
2. Go to **Plugins → Add New → Upload Plugin**  
3. Upload the ZIP and click **Install Now**, then **Activate**

### Connect WordPress with your CX Tailor account

1. After activation, go to **CXTailor** in the WordPress admin menu  
2. Enter your CX Tailor email and password  
3. Save the settings to connect to your workspace  

### Embed your customer journey

1. Create or edit a page or post  
2. Insert the **CX Tailor Funnels** block from the block editor  
3. Select the journey you want to embed  
4. Publish the page  

Your interactive journey will now appear on your WordPress site.

== Frequently Asked Questions ==

= Do I need a CX Tailor account to use this plugin? =
Yes. The plugin communicates directly with your CX Tailor workspace.

= Can I edit my journeys inside WordPress? =
No. All editing happens inside CX Tailor. The plugin syncs and embeds journeys into WordPress.

= Do changes in CX Tailor update automatically on my site? =
Yes. When you publish updates in CX Tailor, they immediately appear on your embedded journeys.

= Do I need any coding skills? =
No. CX Tailor is fully no-code.

= Is A/B testing supported? =
Yes. A/B tests can be created and managed from inside the CX Tailor platform.

= Does CX Tailor include analytics? =
Yes. CX Tailor provides clear, human-readable analytics that show how visitors move through your journeys.

= How do I embed a journey? =
Use the **CX Tailor Funnels** block or paste the shortcode generated in your CX Tailor dashboard.

== External services ==

This plugin connects to the CX Tailor service (https://admin.cxtailor.com) to authenticate users and to fetch and embed funnel/workspace data.

Data sent:
- When the user logs in via the plugin: the email and password are sent to https://admin.cxtailor.com/auth/login to obtain an authentication token.
- When embedding or viewing funnels/workspace data: the plugin may send the workspace ID and the authentication token to fetch data from the CX Tailor API endpoints (for example /api/data/workspaceData/{workspaceId}).
- When embedding funnels: the plugin loads an external script from https://admin.cxtailor.com/cxtailorfunnel.js and may load embedded content from https://admin.cxtailor.com/sharedFunnel/{id}?embed=true.

Why:
- Authentication and data retrieval are required for the plugin to function and to display the selected funnels/content.

Service Terms of Use: https://cxtailor.com/terms/
Privacy Policy: https://cxtailor.com/privacy-policy/


== Changelog ==

= 1.0.0 =
* Initial release  
* Connect WordPress with CX Tailor  
* Embed journeys via Gutenberg block or shortcode  
* Automatic syncing of journey updates  
* Support for all CX Tailor experience types  
* Integration settings panel  

== Upgrade Notice ==

= 1.0.0 =
First public release of the official CX Tailor WordPress plugin.

