← Todas las ideas
0

Chat: Show page URL, referrer, browser, language and form answers in visitor panel

LanzadaChatIdea

Intercom shows the last page a visitor viewed when replying and offers a Recent page views sidebar app with up to 20 visits (https://www.intercom.com/help/en/articles/9277565-recent-page-views-app). Our widget sends no page context: app/api/chat/widget.js/route.ts never reads location.href, document.referrer, navigator.language or timezone, and components/chat/VisitorPanel.tsx only shows name, email, first seen, started, subject and CSAT, even though pre-chat answers are stored in visitor metadata.form. Knowing the visitor is on the pricing page or checkout changes the answer and saves a round of questions. First scope: send url, title, referrer, language, timezone and user agent with each visitor message, store them on the message or visitor metadata, and render them plus the form answers in the visitor panel. Also avoid using the raw external_id as the sender name in the agent notification for anonymous visitors (lib/chat-visitor-message.ts). Priority: medium. Effort: S. Compared with Intercom.

Comentarios 0

Sin comentarios todavía.