Demo Site

Live chat widget integration test

Widget Config

data-site-id identifies the tenant. data-iframe-src points to the livechat app. The widget script loads from /scripts/live-chat-v2.js.

Auth Token

No token set
Login with Account
Manual Token

Language

Sets <html lang> on this page. The widget observes that attribute and posts LANGUAGE_CHANGE to the iframe, which reloads with ?lang=. Current: tr

How it works

The chat widget appears as a floating button in the bottom-right corner. It loads live-chat-v2.js from the livechat service, creates an iframe, and communicates via postMessage. Token auth is read from localStorage.