Skip to main content
The floating avatar is the round button that opens your popup widget (render: 'bottom-right' or 'bottom-left'). You can change how it behaves without touching the widget’s HTML. Its look, the chat window, and the chat history stay exactly as they are. Every option below is off by default. With nothing set, the avatar sits where it always has.

Options

Set them in the dashboard

Open your agent, go to Settings → User Interface → Floating avatar, and save. This applies everywhere the agent is installed.

Or set them in your embed code

Add a launcher object to VG_CONFIG. Anything you set here overrides the dashboard for that site only.
On Shopify, find the selector of your Add to cart bar by right-clicking it in your browser and choosing Inspect. Use a class or id from that element, for example .product-form__buttons.

JavaScript API

Once the widget has loaded, window.VG_ADMIN.launcher gives you full control from your own scripts.
Hiding the avatar while a drawer or quick-view is open:

Events

The widget reports launcher changes on the same VG_Events event as chat_open and chat_close.

Styling with CSS

These class names are stable and safe to target from your own stylesheet:
Prefer the options above over CSS for position and size. CSS that moves the avatar with !important will stop dragging and lifting from working.