Ghost

Add an AI support assistant to a Ghost publication

A Ghost publication with two hundred posts holds a great deal of knowledge that its search box will never surface.

  • Two lines
  • About two minutes
  • One field
Site Footerfield
<!-- Matter Chat — paste right before </body> --><script>  window.MatterChat = window.MatterChat || { q: [] };  window.MatterChat.q.push(["init", { id: "bot_your_key" }]);</script><script async src="https://app.matterchat.co/widget.js"></script>
</body>

html · paste above the dimmed line

The route through your admin

  1. Settings
  2. Code injection
  3. Site Footer

The snippet lands in Site Footer.

Where the snippet goes

In Ghost admin open Settings, then Code injection, and paste the two-line snippet into the Site Footer field. Save. It applies across the publication including post and page templates.

Settings, Code injection, Site Footer
Ghost's built-in slot for third-party scripts, no theme edit required.
Survives theme changes
Code injection is stored outside the theme, so switching themes keeps it.
Covers posts and pages
One paste applies to the whole publication.
!

Site-level injection covers post and page templates, so the theme itself stays untouched.

Your archive, asked rather than searched

The crawler indexes published posts, so a reader can ask a question in their own words and get an answer that cites the post it came from. That link is the point: it sends readers into old writing that would otherwise never surface.

Why Ghost crawls unusually well

Ghost renders every post on the server and publishes a sitemap at /sitemap.xml out of the box, so the crawler discovers your archive in one pass and reads complete HTML for every post — no rendering caveats, no plugin. Crawls ingest in batches, so a large archive fills in over a few passes rather than needing any setup.

Members and subscription questions

Questions about membership tiers, billing, and what a subscription includes are repetitive and entirely documented. Answering them automatically keeps them out of a personal inbox.

Checking it actually worked

Four things, in order. The third is the one people skip, and it is the one that tells you whether the answers are grounded.

  1. 1Hard refresh the page — the launcher appears bottom-right.
  2. 2Ask it something your site answers, and check the reply cites a page.
  3. 3Ask it something your site does not cover, and check it declines.
  4. 4Open Conversations in the dashboard; both should be there.

On a different stack?

The snippet is the same everywhere. Only the place you paste it changes.

What publishers ask

Short answers. If yours is not here, the assistant on this page will try it — and tell you honestly if it cannot.

Can it read members-only posts?

The crawler reaches publicly published content. Members-only posts can be added as uploaded documents if you want them answerable, though consider carefully whether answers drawn from paid content should be served to non-members.

Does it survive a theme change?

Yes. Code injection is stored in Ghost settings rather than in the theme, so switching themes does not remove it.

Will answers link to my posts?

Yes, every answer cites the source it came from, which for a publication means routing readers into your archive rather than summarising it away.

From the blog

All posts

Answer honestly. Capture the rest.

Point Matter Chat at your site and see what it can — and can't — answer. It's honest about both.

Start free — chat in your site

No credit card. 2 minute setup.

Every answer cites the source it came from. When there isn't one, it says so — and hands the visitor to you.

Installs on the tools you already run.