WhyChose
Home Extractor Blog

Embed widget

Live preview · MIT-licensed · zero dependencies · ~6KB

If you write about decision-making, ADRs, or AI-as-a-thinking-tool — on a personal site, a team wiki, an internal Notion, a dev portfolio — this widget gives readers a self-serve estimate of how many durable decisions are buried in their AI chat history. It links them out to the open-source extractor (no signup, runs locally) and the hosted waitlist.

One script tag. No tracking, no cookies, no third-party calls. Source is below.

Live preview

— what it looks like on your page —

Install

Drop two lines anywhere in your page's body:

<div id="whychose-embed"></div>
<script async src="https://whychose.com/embed.js"></script>

That's it. The widget mounts into the #whychose-embed div on first paint, injects its own scoped CSS, and self-removes if the script is included twice on the same page.

What it does

  • Renders a small interactive card with two number inputs: chats per week, weeks of usage.
  • Live-updates an estimate of how many durable decisions the reader has likely made — using the ratio (~0.5 decisions per chat) the open-source extractor produces on real exports.
  • Links out to whychose.com/extractor (the MIT-licensed extractor — read the source, run it locally) and to the WhyChose hosted waitlist.
  • Tags outbound clicks with ?ref=embed&host=<your-domain> so we can see which embeds drive traffic and credit good ones in the changelog.

What it doesn't do

  • No analytics calls. No cookies. No fetch outside the user clicking a CTA.
  • No external CSS or fonts — the widget brings its own scoped styles, sandboxed to a .wc-w class.
  • No iframes — it renders inline so screen readers and keyboard navigation just work.

Customisation

The widget is intentionally not configurable in v1 — same shape on every embed makes the look familiar to readers who've seen it elsewhere. If you want a custom variant (white-label, different default values, your own copy), open an issue or DM @bitinvestigator and we'll either ship a query-string knob or document a fork path.

Source

The widget source is at /embed.js — readable, ~6KB, no minification. License is MIT (same as the extractor). You can self-host a fork if you'd rather not load from whychose.com; the only requirement of the embed contract is that the "Powered by WhyChose" attribution link stays.

Where to go next

  • The open-source extractor — what the widget links out to.
  • The new-CTO onboarding problem — the long-form essay on why durable decisions vanish into chat history.
  • Decision-log template — what the extracted decisions get filed into.
  • About — who built this, why, and where the build-in-public log lives.
WhyChose

The log of how you decided.

Product

  • How it works
  • Pricing
  • FAQ
  • Open-source extractor
  • Embed widget
  • Guides
  • Blog
  • Compare

Company

  • About
  • Contact (DM)
  • Build in public
  • Changelog

Legal

  • Privacy policy
  • Terms of service

© 2026 WhyChose · Built in public at @bitinvestigator