Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.
TypeScript aeoai-agentai-searchanswer-engine-optimizationbrand-monitoringchatgptclaudecopilotdockergeminigeogoogle-ai-overviewsgrokmcpnextjsopen-sourceperplexityseosupabasetypescript
feat(tracking): capture Google AI Mode shopping cards into prompt_results (#86)
Gökhan Geyike258dadd0422
diff --git a/server/src/lib/cloro-scraper.js b/server/src/lib/cloro-scraper.jsindex 0f0e0ecbd..e88a652a7 100644--- a/server/src/lib/cloro-scraper.js+++ b/server/src/lib/cloro-scraper.js@@ -93,7 +93,16 @@ export function parseScraperResponse(result, scraperId) {endIndex: idx * 100 + 50,}));- return { text, citations, model: 'google-aimode', shopping_cards: [] };+ // AI Mode returns its product cards under camelCase `shoppingCards`+ // (like Copilot — verified against the live response; not snake_case).+ // Unwrap into the snake_case parsed key shared by all providers. Its+ // separate `inlineProducts` array is a different surface, out of scope.+ return {+ text,+ citations,+ model: 'google-aimode',+ shopping_cards: aiMode.shoppingCards ?? [],+ };}const text = result.markdown || result.text || '';