Instrument Pendo Track Events - #3
Open
novus-by-pendo[bot] wants to merge 1 commit into
Open
Conversation
Add 13 Pendo Track Events to capture key user interactions and pipeline metrics: Client-side (pendo.track): - idea_submitted: fires on form submission with idea metadata - analysis_completed: fires when 6-agent pipeline returns results - analysis_failed: fires on unrecoverable analysis errors - demo_mode_fallback: fires when API is unavailable/times out - report_exported: fires on report download - whatif_simulation_performed: debounced tracking of simulator usage - example_idea_selected: fires when preset example is chosen Server-side (Pendo Track API via HTTP POST): - pipeline_stage_completed: fires per agent stage with duration - memory_hit_found: fires when prior runs match current idea - evaluation_reflection_triggered: fires on evidence quality loops - analysis_run_persisted: fires when results are saved to memory - scenario_studio_generated: fires when investor scenarios are built - rate_limit_exceeded: fires when user hits 10/hr throttle Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds 13 Pendo Track Events across frontend and backend to capture key user interactions, pipeline performance, and system health metrics.
Client-side events (
pendo.track()in browser):src/components/venturemind/interactive.tsx) — fires on form submission with idea metadata and source detectionsrc/components/venturemind/interactive.tsx) — fires when a preset example idea is chosensrc/components/venturemind/interactive.tsx) — fires when the analysis report is downloaded as .txtsrc/components/venturemind/interactive.tsx) — debounced (1s) tracking when What-If Simulator sliders settle at non-default positionssrc/app/page.tsx) — fires when the 6-agent pipeline returns real results, with score/verdict/timing metadatasrc/app/page.tsx) — fires on unrecoverable analysis errorssrc/app/page.tsx) — fires when API is unavailable or times out, triggering mock resultsServer-side events (Pendo Track API via HTTP POST):
core/orchestrator.py) — fires per agent stage with duration and statuscore/orchestrator.py) — fires when prior analysis runs match the current idea via similarity searchcore/orchestrator.py) — fires when the evaluator triggers a reflection loop for additional researchcore/orchestrator.py) — fires when results are saved to long-term memoryutils/scenario_engine.py) — fires when the 5 investor scenarios are builtsrc/app/api/analyze/route.ts) — fires when a user exceeds the 10 analyses/hour rate limitNew file:
core/pendo_track.py— Reusable Python utility for sending server-side Track Events to the Pendo Track API usingurllib.request(fire-and-forget via daemon thread)Test plan
pendo.trackcallswhatif_simulation_performedonly fires once after sliders settle (debounced)example_idea_selectedfires when clicking a preset examplereport_exportedfires on download button click🤖 Generated with Claude Code