=== LiveCustomer Chat ===
Contributors: cgmimm23
Tags: chat, live chat, chatbot, ai chatbot, lead capture
Requires at least: 5.2
Tested up to: 7.1
Requires PHP: 7.0
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add your LiveCustomer AI chat bot and live chat to every page of your WordPress site.

== Description ==

LiveCustomer answers your visitors' questions 24/7 with an AI chat bot trained on your business, captures leads, and lets you or your team take over any conversation live.

This plugin adds your LiveCustomer chat button to every page. Paste your bot ID, press Save, and you're done.

A LiveCustomer account is required: https://www.livecustomer.co

== Installation ==

1. In WordPress, go to Plugins → Add New → Upload Plugin, choose livecustomer-chat.zip and press Install Now, then Activate.
2. Go to Settings → LiveCustomer Chat.
3. Paste your bot ID (it starts with bot_ and is on the Install tab of your dashboard at https://app.livecustomer.co) and press Save Changes.

== External services ==

This plugin connects your site to LiveCustomer, an external service, and only does so once you have entered a bot ID. Without a bot ID nothing is loaded and nothing is sent.

= LiveCustomer (the chat service) =

LiveCustomer provides the chat button, the chat window and the AI answers. LiveCustomer is a product of CGMIMM, the maker of this plugin.

* On every page of your site, the visitor's browser loads the chat script from https://app.livecustomer.co/embed.js. When the chat button is shown or opened, the chat window loads from https://chat.livecustomer.co, and it talks to the LiveCustomer server at https://livecustomer.soft-pond-4156.workers.dev.
* What is sent, and when:
  * While a visitor is on your site: the address and title of the page they are on and the pages they visit, the address they came from (referrer), how far they scroll, whether the tab is open, their browser, device type, language, screen size and time zone, and their IP address (used by the service to estimate city and country). This lets you see live visitors in your LiveCustomer dashboard.
  * When a visitor taps a phone, email or map link on your site, submits a form, or completes a purchase that your site reports to its analytics: the kind of action, plus the link address, the form's title, or the names of the products bought. What visitors type into your forms is not sent.
  * When a visitor chats: their messages, any files they choose to attach, and any name, email or phone number they type, so the chat can answer them and you can see the conversation and the lead in your dashboard.
* Terms of service: https://www.livecustomer.co/terms
* Privacy policy: https://www.livecustomer.co/privacy

= Cloudflare cdnjs (photo conversion) =

Only when a visitor attaches an iPhone photo (HEIC format) in the chat, the chat window loads the heic2any converter from https://cdnjs.cloudflare.com to turn it into a JPEG before upload. Cloudflare receives the visitor's IP address and browser details as part of that request; the photo itself is converted in the browser and is not sent to Cloudflare.

* Terms of use: https://www.cloudflare.com/website-terms/
* Privacy policy: https://www.cloudflare.com/privacypolicy/

= Analytics and ad conversion tracking (only if you turn it on) =

In the Analytics & ad conversions settings of your LiveCustomer dashboard you can choose to report chats and leads to your own analytics or ad accounts. Nothing is sent to these services unless you enter your own ID there. When you do, the chat script loads the service's tag on your pages and sends chat events (chat started, message sent, lead captured) and the page address:

* Google Analytics 4 and Google Ads, via https://www.googletagmanager.com. Terms: https://policies.google.com/terms. Privacy: https://policies.google.com/privacy
* Microsoft Advertising (UET), via https://bat.bing.com. Terms: https://www.microsoft.com/servicesagreement. Privacy: https://privacy.microsoft.com/privacystatement
* CGM Analytics, via https://analytics.cgmimm.com, and CGMIMM Ads conversion tracking, via https://ads.cgmimm.com. Terms: https://www.cgmimm.com/terms. Privacy: https://www.cgmimm.com/privacy

== Changelog ==

= 1.0.1 =
* Documented every external service the chat uses, with links to their terms and privacy policies.
* The chat script is added through the WordPress script loader.
* Settings are removed when the plugin is deleted.

= 1.0.0 =
* First release.
