Skip to content

Add PromptWatch analytics for AI search traffic#1337

Merged
rubenfiszel merged 1 commit intomainfrom
alp/add-promptwatch-analytics
Apr 3, 2026
Merged

Add PromptWatch analytics for AI search traffic#1337
rubenfiszel merged 1 commit intomainfrom
alp/add-promptwatch-analytics

Conversation

@alpetric
Copy link
Copy Markdown
Contributor

@alpetric alpetric commented Apr 3, 2026

Summary

  • Add PromptWatch analytics script alongside existing Plausible analytics
  • Tracks visitors arriving from AI search/chat platforms (ChatGPT, Claude, Perplexity, etc.)
  • Cookie-less, stateless — same privacy model as Plausible

Why

We want visibility into how much traffic comes from AI platforms citing/linking to windmill.dev, which content gets referenced most, and conversion rates from AI-referred visitors.

What it does

  • Loads https://ingest.promptwatch.com/js/client.min.js with defer
  • Sends page view events (URL, referrer, locale, timezone) — no PII, no cookies
  • PromptWatch segments AI-referred traffic (referrers from chatgpt.com, claude.ai, etc.)

Test plan

  • Verify docs build passes
  • Confirm script loads on the deployed preview

🤖 Generated with Claude Code

Cookie-less, stateless analytics (like Plausible) that tracks visitors
arriving from AI search/chat platforms (ChatGPT, Claude, etc.).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying windmilldocs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7de21f0
Status: ✅  Deploy successful!
Preview URL: https://a3784580.windmilldocs.pages.dev
Branch Preview URL: https://alp-add-promptwatch-analytic.windmilldocs.pages.dev

View logs

@rubenfiszel rubenfiszel merged commit ffc8631 into main Apr 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants