Skip to content

docs: add Plausible analytics to invoke.ai site#9140

Open
Pfannkuchensack wants to merge 3 commits intoinvoke-ai:mainfrom
Pfannkuchensack:docs/plausible-analytics
Open

docs: add Plausible analytics to invoke.ai site#9140
Pfannkuchensack wants to merge 3 commits intoinvoke-ai:mainfrom
Pfannkuchensack:docs/plausible-analytics

Conversation

@Pfannkuchensack
Copy link
Copy Markdown
Collaborator

@Pfannkuchensack Pfannkuchensack commented May 9, 2026

Summary

Adds privacy-friendly Plausible analytics to the docs site (invoke.ai). The tracking script is injected into the <head> of every page via Starlight's head config option.

The script is only loaded on the production deployment (invoke.ai).

Related Issues / Discussions

None

QA Instructions

  1. Run the docs site locally:
    cd docs && pnpm dev
    
  2. Open any page and inspect the <head> — confirm both <script> tags from Plausible are present.
  3. Build with the GH Pages target and confirm the scripts are absent:
    DEPLOY_TARGET=ghpages pnpm build
    
    Grep the build output for plausible — should return nothing.
  4. Build with the default target and confirm the scripts are present:
    pnpm build
    

Merge Plan

Standard merge — no special timing required. Tracking starts as soon as the next deploy of invoke.ai goes live.

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • ❗Changes to a redux slice have a corresponding migration
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions Bot added the docs PRs that change docs label May 9, 2026
@joshistoast joshistoast self-assigned this May 9, 2026
@lstein lstein added the 6.14.x label May 9, 2026
@lstein lstein moved this to 6.14.x Theme: LIBRARY UPDATES in Invoke - Community Roadmap May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.14.x docs PRs that change docs

Projects

Status: 6.14.x Theme: LIBRARY UPDATES

Development

Successfully merging this pull request may close these issues.

3 participants