Toyota — Demo Host Page 1

This page simulates a Toyota marketing site. The Toya widget is injected by a single script tag. Host CSS here is intentionally hostile (Comic Sans, lime buttons) to verify isolation.

Backend mode: default data-env="dev" talks to the real local backend http://davision-app.test/ (must be running + CORS-allow http://127.0.0.1:3000). For a self-contained run with built-in mocks (no backend needed), open this page with ?toya_env=mock. The agent-trigger buttons below only work in mock mode.

→ Navigate to Page 2 (tests conversation persistence across navigation)

Proactive message

In mock mode, ~3s after load a proactive card appears just above the launcher (rendered inside the iframe; url_patterns *demo*). It shows once per session — after you see/close it, navigating to Page 2 or reloading won't show it again (sessionStorage). Impression/click/dismiss events are logged by the mock server.

Isolation probe

click the button…

Realtime handoff test

In the widget, send a message containing "temsilci" to trigger handoff, then: