WordPress.org

Plugin Directory

Dotance Chat – AI Chatbot Trained on Your Own Content, with Sources & Lead Capture

Dotance Chat – AI Chatbot Trained on Your Own Content, with Sources & Lead Capture

Description

Most AI chatbots put a general-purpose model behind a chat box. Ask one about your prices and it will happily make a number up, because it has never read your pricing page.

Dotance Chat reads the pages you have already published and answers visitors from those pages alone. Every answer lists the pages it came from, so a visitor — and you — can check it. If nothing on your site answers the question, Dotance Chat says so instead of guessing.

What it does

  • Answers from your own content. Posts, pages and any other public post type you choose are split into passages and indexed once. A question is matched against those passages, and only the ones that actually match are given to the AI.
  • Shows its sources. Each answer carries links to the pages it was built from.
  • Pinned answers. Prices, refund terms, opening hours — pin the exact wording and Dotance Chat gives it back verbatim, before any AI is asked. Instant, and free to serve.
  • Lead capture. When a conversation turns into buying intent, Dotance Chat asks for a name and email inside the chat and emails the lead to you.
  • The Questions report. Every question your content could not answer, grouped and counted. It is a list of the pages your visitors wish you had written.
  • The conversation log. Every question and answer, searchable, with one visitor’s whole conversation on one screen. Records can delete themselves after a number of days you choose.
  • Privacy tools. Dotance Chat answers WordPress’s own personal-data export and erasure requests, and suggests wording for your privacy policy.
  • A spend guard. Set a monthly token budget and the chat stops rather than running up a bill.
  • Your own AI key. Google Gemini, OpenAI or Anthropic. A free Gemini key is enough for a small site.
  • Built for ordinary hosting. No Node, no vector database, no background workers. The chat widget is vanilla JavaScript in a shadow root, so your theme cannot break it and it cannot break your theme.

Dotance Chat Pro

Dotance Chat Pro is a separate add-on for sites that want more:

  • The content-gap loop: pick any question from the Questions report and Dotance Chat Pro drafts the answer from your own content, ready to pin or save as a draft post.
  • A full design customiser with a live preview.
  • Lead webhooks for your CRM, Zapier or Make.
  • CSV export of the Questions report.
  • Custom AI endpoints — OpenRouter, Groq, or a model on your own server.

Everything listed under “What it does” above is in this free plugin, with no limits.

External services

Dotance Chat connects to the AI provider you select on its Settings screen, using the API key you enter there. It connects to one provider for answering and one for indexing (they can be the same). Nothing is sent until you have entered a key.

What is sent, and when:

  • When you build or update the index: the text of each published page or post that is indexed, in passages, to the indexing provider.
  • When you save a pinned answer: the pinned question, to the indexing provider, so similar questions can match it.
  • When a visitor asks a question: the question goes to the indexing provider to find matching passages. If any match, the question, those passages and the earlier messages from that visitor’s current conversation go to the answering provider. A question that matches a pinned answer word for word is answered without contacting any provider.
  • When you press “Test keys” or save a new key: a request that lists the provider’s models, to check the key works. No content is sent.

The lead form’s name, email and phone fields, and visitors’ IP addresses, are never sent to an AI provider. Anything a visitor types into a question is sent as part of that question.

Google Gemini API (generativelanguage.googleapis.com), provided by Google.
Terms of service · Privacy policy

OpenAI API (api.openai.com), provided by OpenAI.
Terms of use · Privacy policy

Anthropic API (api.anthropic.com), provided by Anthropic.
Commercial terms · Privacy policy

Screenshots

Installation

  1. Install and activate Dotance Chat from the Plugins screen, under Add New.
  2. Open the Setup guide under Dotance Chat in your admin menu. It walks through the four steps below and links to each screen as you go.
  3. Open Settings under Dotance Chat and paste an API key. A free Google Gemini key from Google AI Studio covers both indexing and answering.
  4. Open Index under Dotance Chat and build the index.
  5. Ask a question in the “Try a question” box to see what visitors will get.
  6. Back in Settings, tick “Show the chat widget to visitors”.

FAQ

Does it make answers up?

Dotance Chat only gives the AI the passages from your own site that match the question, with an instruction to answer from them or say it does not know. When nothing on your site matches closely enough, no answer is generated at all and the visitor gets your fallback message. For answers that must never vary, use Pinned answers.

What does it cost to run?

The plugin is free. Answers cost whatever your AI provider charges your own account. Google Gemini’s free tier covers a small site. Indexing is a one-off cost per page, repeated only when that page changes.

Which AI providers can I use?

Google Gemini, OpenAI and Anthropic. Building the index needs a provider that produces embeddings — Gemini or OpenAI. Anthropic can write answers but cannot build the index.

Where is my API key stored?

In your WordPress database, encrypted with AES-256-CBC using a key derived from your site’s salts. If the salts are ever changed, the stored key can no longer be read and you are asked to enter it again.

Will it slow my site down?

The widget script is small and loads in the footer, and its stylesheet is only fetched once the widget starts. No AI provider is contacted on a page view — only when a visitor actually asks a question.

What happens to my visitors’ data?

Conversations and leads are stored in your own database. You can switch the conversation log off in Settings. See “External services” below for exactly what is sent to the AI provider you choose.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Dotance Chat – AI Chatbot Trained on Your Own Content, with Sources & Lead Capture” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

3.3.1

  • The setup steps read as plain sentences now, in the readme and on the Setup guide screen: menu paths are written out instead of drawn with arrows, and the key test says what happened in words rather than with a tick or a cross.

3.3.0

  • The plugin is now called Dotance Chat. Nothing about how it works has changed: existing installs keep their index, conversations, leads, pinned answers and settings, and everything is carried over on update.

3.2.0

  • An earlier rename, away from a name that collided with other plugins and with an unrelated company.
  • Fixed: on MySQL older than 8.0.13 the tables could fail to be created, because a BLOB column was declared with an explicit default. The installer also no longer records the database as installed unless every table really exists, so a failure like that can correct itself.

3.1.3

  • A Setup guide screen inside the plugin: the four steps in order, where to get a free key, what each screen is for, and what to do when the chat says it cannot answer.

3.1.2

  • When the chat credit is switched on it now links to the plugin’s page, opening in a new tab. The link is nofollow, so it cannot affect anyone’s search ranking.

3.1.1

  • The small “Dotance Chat” line at the foot of the chat is now off unless you switch it on in Settings. Visitors see nothing about Dotance Chat by default.
  • The chat and lead endpoints check their session token in the REST permission callback rather than inside the handler.

3.1.0

  • A new Conversations screen: every question a visitor asked and the answer they got, with search, an intent filter and a period filter. The Questions screen only ever showed the failures — this shows everything.
  • Follow one visitor’s whole conversation from any row.
  • Records can now delete themselves. Set “Keep records for” in Settings and anything older is removed once a day. 0 keeps them for ever, which stays the default.
  • A button to delete every recorded question at once, leaving leads and pinned answers alone.
  • Dotance Chat now answers WordPress’s own Export and Erase Personal Data requests, matching on the email address a visitor left in the chat, and offers wording for your privacy policy.

3.0.0

  • First release on WordPress.org.
  • The chat, indexing, pinned answers, lead capture by email, the Questions report and the spend guard are all included, with no limits.
  • The design customiser, lead webhooks, CSV export, custom AI endpoints and AI-drafted answers now live in the separate Dotance Chat Pro add-on.
  • The widget theme (light, dark, or matching the visitor’s device) is now set in Settings.
  • Uninstalling now also removes the pinned answers table.