The widget is resetting the conversation when navigating between pages. We need persistent conversation sessions across page loads. TASK — PERSIST WIDGET CONVERSATION Goal: Keep the same conversation when the user navigates between pages. Requirements: 1. Store a conversation/session ID in browser storage: - use localStorage (preferred) - key example: recepcia_conversation_id 2. On widget initialization: - check if a conversationId exists - if yes → resume that conversation - if no → create a new conversation 3. Persist conversation ID after first message or session start. 4. Do NOT create a new conversation on every page load. 5. Optional (nice to have): - restore previous messages UI from backend using conversationId 6. Ensure: - works across all pages on same domain - does not break multi-tenant logic (companyId still respected) - does not leak data between users RETURN TO ME Return exactly: 1. where conversationId is stored 2. how widget initializes/resumes session 3. how backend uses conversationId 4. confirmation that page navigation no longer resets conversation
kpiperformanceanalyticsconversionbookingsrevenueai metrics