=== Algomo ===
Contributors: algomo
Tags: chatbot, ai, customer support, live chat, assistant
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds the Algomo AI assistant to your WordPress site.

== Description ==

Algomo is an AI assistant for your website. This plugin adds it to every page:

* **Connect in one click.** Sign in to Algomo from the plugin's settings page and the site is linked to your organization. No ids to copy.
* **Pick a layout.** A floating chat bubble, or a full-height side panel that sits beside the page.
* **Choose a chatbot per page.** Use your organization's default chatbot everywhere, or send specific pages to a different one.
* **Control where it shows.** Hide the assistant on chosen paths or on single pages.

The plugin stores only your organization's id, the names of its chatbots and a site key that can list those chatbots. No Algomo credentials are kept on your site.

== External services ==

This plugin connects to Algomo, the AI assistant service it adds to your site. It is useful only with an Algomo account.

**The assistant on your pages.** Every public page loads Algomo's script from `https://cdn.algomo.com/pixel.js`. The script shows the assistant and sends Algomo the page URL, referrer, a random visitor id it stores in the browser, and the messages visitors type into the chat. This happens on every page view, for every visitor, whether or not they open the chat.

**Connecting the site.** When you click *Connect to Algomo* in the settings, your browser is sent to `https://api.algomo.com` and the Algomo dashboard to sign in and approve the connection, and your server calls `https://api.algomo.com` to finish it and to read your organization's name and list of chatbots. These calls send only the connection code and the site key; the chatbot list is refreshed from the settings page at most every five minutes.

Algomo's terms of service: https://algomo.com/terms
Algomo's privacy policy: https://algomo.com/privacy

== Installation ==

1. Upload the plugin to `/wp-content/plugins/algomo`, or install it from the plugin directory.
2. Activate it.
3. Go to Settings → Algomo and click **Connect to Algomo**.
4. Sign in, pick your organization, and the assistant is live.

== Frequently Asked Questions ==

= Where do the assistant's colours, title and avatar come from? =

From your Algomo dashboard. The plugin only decides where the assistant appears and in which layout.

= How do I check the assistant on a page where it is hidden? =

Open the page while logged in: the admin bar's Algomo menu offers a preview link.

= Can I set the organization without connecting? =

Yes. While disconnected, the settings page has an Advanced section where the organization id can be typed.

== Changelog ==

= 0.1.0 =
* First release: connect, layout, default and per-page chatbot, hidden paths and pages.
