=== DigiSeer ===
Contributors: digiseer
Tags: search, chatbot, ai, assistant, faq
Requires at least: 5.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.16.10
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI assistant that answers your visitors in plain language from your own pages, with links to the sources. French AI, data hosted in France.

== Description ==

DigiSeer adds an AI assistant to your WordPress site. Your visitors ask their questions in plain language; DigiSeer answers **only from the content of your site**, and links to the pages it used.

* **Answers from your own content**: pages, posts, public custom post types, their categories and their ACF fields.
* **Sources shown**: every answer lists the pages it comes from, so visitors can check and read more.
* **Search page in one click**: searches made on your site (theme search icon, search widget) open the DigiSeer chat instead of the WordPress results.
* **Always up to date**: content you publish, update or delete is re-indexed automatically.
* **27 languages**: the chat answers in the visitor's language, and each site has two chat languages of your choice.
* **Your look, your texts**: colours, avatar, welcome message and suggested questions (depending on the plan).
* **Statistics**: questions asked, unanswered questions, visitor feedback, exports.
* **French AI, data hosted in France**, no cookie in the chat.

A free plan is available, without a credit card. Paid plans add more answers per month, customisation, several sites and support: see [pricing](https://www.digiseer.app/pricing/).

= External service =

This plugin relies on the DigiSeer service, run by DigiStella (France). It does not work without it.

* **The chat and the DigiSeer application** are displayed in an iframe loaded from `https://app.digiseer.app`: on the pages where you add the chat (visitors' questions are sent to DigiSeer to be answered) and in the DigiSeer menu of your WordPress admin (account, settings, statistics; the plugin version is passed to the app so it can tell you when an update is available).
* **Indexing**: DigiSeer reads your **published, public** content (text, categories, ACF fields) through an endpoint of this plugin protected by a secret key (header `X-DigiSeer-API-Key`), with the SEO title, meta description and focus keyphrase of your SEO plugin if you have one. Drafts, private or password-protected content and media are never sent.
* **Automatic updates**: when content is published, updated or deleted, the plugin tells `https://api.digiseer.app` which content changed (identifier, type and kind of change only).
* **Plugin state**: on activation, deactivation and uninstall, the plugin tells `https://api.digiseer.app` (site address, plugin version, and the optional reason you give when deactivating).

Terms of service: https://www.digiseer.app/terms/
Privacy policy: https://www.digiseer.app/privacy/

== Installation ==

1. In your WordPress admin, open **Plugins → Add New Plugin**, search for "DigiSeer", then click **Install Now** and **Activate**. You can also upload the `digiseer.zip` file with **Upload Plugin**.
2. Open the new **DigiSeer** menu and create your account: your site address is taken from WordPress, there is no key to copy.
3. In **Indexing**, click **Index all**.
4. Open **DigiSeer → Search page** and click **Create the search page**, or add the `[DigiSeer]` shortcode to any page (`[DigiSeer lg="2"]` for your second language).

The **Getting started** box of the DigiSeer dashboard guides you through these steps. Full guide: https://www.digiseer.app/docs/basics/getting-started/

== Frequently Asked Questions ==

= Do I need an account? =

Yes. It is created from the DigiSeer menu of your WordPress admin, in a minute. The free plan needs no credit card.

= Does DigiSeer answer from other sources than my site? =

No. Answers come only from the content of your site that you have indexed. When the answer is not in your content, the chat says so.

= Which content is indexed? =

Published, public content: pages, posts and public custom post types, with their categories, taxonomies and ACF fields. Drafts, private or password-protected content, revisions, media, menus and theme templates are never indexed. You can exclude any content from the Indexing page.

= Does it work with my page builder? =

Yes. The chat is a shortcode, `[DigiSeer]`, that works in the block editor, in classic content and in page builders.

= Where is my data hosted? =

Your content and your visitors' questions are hosted in France, and answers are written by Mistral AI, a French AI, in the European Union. All our subprocessors are in the European Union: https://www.digiseer.app/sub-processors/

= What happens when I uninstall the plugin? =

Its settings are deleted from WordPress, and a search page it created is moved to draft if you did not change it. Your site's data on DigiSeer is deleted 60 days later unless you reinstall the plugin; a reminder is emailed 7 days before.

== Screenshots ==

1. The chat answering a question, with the pages it used.
2. The DigiSeer dashboard: questions, unanswered questions and visitor feedback.
3. The Indexing page: content to index, indexed and excluded.
4. DigiSeer → Search page: create the search page in one click.

== Changelog ==

= 1.16.10 =
* Links from DigiSeer emails can open the Users page of the app.
* Demo mode for the DigiSeer public demo site only: inactive on every other site.

= 1.16.9 =
* DigiSeer → Diagnostic page: the help now names the "Run the diagnostic" button of the app's Support page.
* In the app, you run the diagnostic, read it, then click "Attach to my request" if you want to send it.

= 1.16.8 =
* Support page of the DigiSeer app, opened in WordPress: the "Attach the technical diagnostic" button fills in the diagnostic for you, in one click.
* You see the text before sending it, and you can remove it. Nothing is sent until you click Send.

= 1.16.7 =
* After a month, a small box on the DigiSeer pages invites you to write a testimonial or leave a review on wordpress.org.
* It never appears elsewhere in your admin, and "Don't show this again" closes it for good.

= 1.16.6 =
* New "Diagnostic" page in the DigiSeer menu, with a "Copy the diagnostic" button: versions, theme, page builder, language, cache and security plugins detected. Paste it in your support request so we can help you faster.
* The same information appears in Tools > Site Health > Info (DigiSeer section).
* Nothing is sent automatically, and the diagnostic contains no personal data.

= 1.16.5 =
* WordPress admin: the DigiSeer app now fills the whole page, with its menu always visible at the top; only the page content scrolls.

= 1.16.4 =
* Indexing can include your SEO title, meta description and focus keyphrase (Yoast SEO, Rank Math, All in One SEO, SEOPress, The SEO Framework), so the chat finds your pages with the words your visitors search for. On by default, can be turned off on the Indexing page.
* The full screen button is now inside the chat, next to the input (it no longer floats above the chat).
* WordPress admin: the "Back to top" button of the DigiSeer pages shows at the bottom of the screen as soon as you scroll down.
* The plugin passes its version to the DigiSeer app: the footer of the admin pages shows the installed version ("Plugin 1.16.4"), and the site owner and administrators see a banner when a new version is available, with an "Update" button that opens the WordPress Plugins page.

= 1.16.3 =
* Search page settings: the chat language is now "Language 1 of the site" or "Language 2 of the site" (both chosen in DigiSeer among 27 languages).

= 1.16.2 =
* Plugin author shown as DigiStella, the company behind DigiSeer.

= 1.16.1 =
* The full-screen chat now always opens above the site header, whatever the theme or page builder.

= 1.16.0 =
* "Forgot password" from the WordPress admin: the email link brings you back to your site's DigiSeer page to choose the new password.

= 1.15.0 =
* The old REST endpoint is removed: DigiSeer reads your content only through the plugin's key-protected channel.

= 1.14.0 =
* The DigiSeer dashboard knows which page shows the chat (Getting started box), and email links can open the Indexing page or the dashboard.

= 1.13.0 =
* Deactivation window: pages that show the chat, optional reason.
* DigiSeer is told when the plugin is activated, deactivated or deleted.
* Clean uninstall: settings deleted, search page created by the plugin moved to draft if unchanged.

= 1.12.1 =
* Lighter placeholder while the chat loads, so the rest of the page no longer moves.

= 1.12.0 =
* New key-protected reading channel for indexing (rendered text, categories, ACF fields, 50 items per call), which works even when the REST API is disabled.

= 1.11.4 =
* Searches open the search page in the visitor's language; chat language of the search page; full-screen buttons unaffected by themes.

= 1.11.3 =
* Several chats on the same page; iframe fixed with Divi.

= 1.11.0 =
* DigiSeer search page.

= 1.9.0 =
* Content is re-indexed only when its text changes.

= 1.8.0 =
* Plugin translated, follows the language of the WordPress admin.
* Messages to the chat sent to the chat's origin only.

== Upgrade Notice ==

= 1.14.0 =
The Getting started box of the dashboard can tick the "chat shown on your site" step.
