Skip to content

Add docs content engagement tracking#21426

Merged
aaazzam merged 1 commit intomainfrom
docs/engagement-tracking
Apr 5, 2026
Merged

Add docs content engagement tracking#21426
aaazzam merged 1 commit intomainfrom
docs/engagement-tracking

Conversation

@aaazzam
Copy link
Copy Markdown
Collaborator

@aaazzam aaazzam commented Apr 4, 2026

Adds scroll depth, dwell time, navigation flow, search, code copy, and feedback tracking to docs Amplitude instrumentation.

🤖 Generated with Claude Code

Adds scroll depth, dwell time, navigation patterns, code copy, search,
and feedback tracking to docs.prefect.io. These events enable measuring
content effectiveness and identifying high-bounce or confusing pages.

New events:
- docs_scroll_depth (25/50/75/100% thresholds with time_on_page_s)
- docs_dwell_time (duration_s, max scroll_depth on page leave)
- docs_code_copied (path, code_title, code_block_index)
- docs_search_opened (path)
- docs_ai_search (query, path)
- docs_feedback (path, rating)

Also adds from_path to Page View: Docs New for navigation flow analysis.

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

mintlify bot commented Apr 4, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Prefect 🟢 Ready View Preview Apr 4, 2026, 10:48 PM

@aaazzam aaazzam merged commit b1b1963 into main Apr 5, 2026
16 checks passed
@aaazzam aaazzam deleted the docs/engagement-tracking branch April 5, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants