Skip to content

feat(analytics): AI agent reads and crawls on post analytics - #7338

Open
capJavert wants to merge 2 commits into
mainfrom
post-agent-views
Open

capJavert wants to merge 2 commits into
mainfrom
post-agent-views

Conversation

@capJavert

@capJavert capJavert commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • Post analytics queries request the AI agent fields: lifetime reads and crawler visits per agent, and daily reads and crawls in history.
  • New "AI agents" section on the post analytics page:
    • "AI agent reads" and "AI crawler visits" tiles.
    • A daily chart for the last 45 days. Reads are solid lines and crawls are dashed.
    • "AI agents" and per-agent toggles (Claude, ChatGPT, Gemini, Perplexity, Exa, Meta AI). Picking an agent hides the total. Deselecting the last agent brings the total back.
    • Reads and Crawls toggles.
    • "Show per agent" list with reads and crawls for each agent.
  • The impressions chart stacks organic and promoted bars, with Organic and Promoted toggles.
  • The last active toggle in a pair can't be turned off and shows a default cursor.
  • The 45-day history padding is shared between both charts (postAnalyticsHistory.ts).

🤖 Generated with Claude Code

Preview domain

https://post-agent-views.preview.app.daily.dev

Adds AI agent read and crawler visit counts to the post analytics page,
a separate daily agents chart with per-agent and reads/crawls toggles,
and organic/promoted toggles on the impressions chart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
daily-webapp Ready Ready Preview Nov 10, 2026 5:23pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
storybook Ignored Ignored Preview Nov 10, 2026 5:23pm UTC

Request Review

@capJavert capJavert left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked against the merged daily-api schema (daily-api#4579, #4580): the requested fields match, and production already accepts them, so there is no deploy-order risk. CI is green apart from assign-preview-domain. Three non-blocking comments are inline.

Reviewed by AI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

2 active (1 outdated) deployments
Preview – daily-webapp — 46c68195 Deployed Nov 10, 2026 by vercel[bot]
Preview – storybook — ab933859 Deployed Nov 10, 2026 by vercel[bot]
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.

1 participant