Treadwell integrates with any paywall stack in under an hour. No API keys on your end, no infrastructure changes — here's exactly what happens under the hood.
Treadwell's embed script takes three data attributes — your publisher ID, preview depth, and affiliate ID. That's the full configuration surface. No backend route, no webhook, no SDK to install.
The script renders a "Chat with a free AI preview" CTA directly below your existing subscribe button. Placement, label copy, and button styling are all configurable via attributes or overrideable with CSS.
Clicking the CTA initiates an OAuth 2.0 authorization flow against the reader's chosen AI platform — Claude, ChatGPT, Gemini, or Perplexity. Treadwell requests a read-scoped token scoped to the preview session only.
Your infrastructure never touches the token. The reader's credentials are exchanged directly between their browser and the AI provider. Treadwell receives only the session context needed to route the preview request.
Treadwell's extraction layer fetches the article from your server (or CDN), applies the configured data-preview-depth truncation, and passes only the approved slice to the AI's context window. The default is 15%.
Extraction and truncation happen on Treadwell's infrastructure — the full article text is never transmitted to the reader's device or stored by the AI provider. Your origin is called once per session with standard HTTP, no special headers required.
Every AI response is appended with a signed affiliate link using HMAC-SHA256. The signature binds the link to the session, publisher, and article — preventing spoofing and ensuring accurate attribution.
Click events are ingested via Treadwell's event pipeline and joined against verified subscription events from your platform. CPA is credited only on confirmed conversions. Publisher dashboards reflect attribution in real time — by article, by AI platform, and by date.
data-article-selector override for non-standard markup.Join the waitlist and we'll send you sandbox credentials along with the full integration guide within 48 hours.