Skip to content

Customize the widget

Set the widget's brand color, theme, position, greeting, language, starters, pre-chat form, business hours and handoff behavior from the dashboard.

8 min read 9 sections

This page covers every widget setting you can change in the Axoryn dashboard, and how those settings interact with attributes on your script tag. It is for anyone on your team who sets up how the widget looks and behaves. Settings are per project.

Open the widget settings

  1. Open your project.
  2. Select Settings in the project navigation.
  3. Under Widget, select Widget design.

The page lives at https://app.axoryn.io/dashboard/projects/<project id>/settings/widget. Settings are grouped into five sections: Look, Identity and greeting, Pre-chat form, Hours and away messages and Handoff and follow-up. A section shows Changed when it has unsaved edits and Needs attention when a value must be fixed before you can save.

Nothing reaches visitors until you select Save changes. Only the fields you changed are sent, so allowed sites and other settings pages are never overwritten from here. The widget picks up saved changes within about a minute.

Note: Everyone on the team can open this page and use the preview. Only owners and admins can save changes.

Preview your changes

The Live preview panel shows the widget as visitors see it and updates as you type. You can switch the preview between Desktop and Phone, Closed and Open, and a Light site or Dark site background. Under Simulate availability, pick Online, Away or After hours to see what visitors get in each state, or As visitors see it now for the current state. Select any part of the preview to jump to the setting that controls it.

On small screens, select Preview to open the preview in a sheet.

Look

SettingWhat it does
”Brand color”A 6-digit hex color, for example #0F766E. Used on the launcher, the visitor’s message bubbles and buttons. Default #6366f1.
”Icon and text on your color""White” or Dark. Picked automatically for contrast unless you choose one.
”Widget theme""Light”, Dark or Match visitor, which follows each visitor’s system setting. Default Light.
”Launcher position""Bottom right” or Bottom left. Default Bottom right.
”Side offset” and Bottom offsetWhole numbers from 0 to 400 px from the edge of the screen. Leave blank for 20.

When your icon and text color is hard to read on your brand color, the page warns you and offers fixes, such as switching the icon and text color or darkening or lightening the brand color. Until you fix it, visitors see an adjusted brand color so text stays readable, and the preview shows it the same way.

”Powered by axoryn” line

The widget shows a small Powered by axoryn line. The Engineer and Autopilot plans hide it. See Billing and usage for plan details.

Identity and greeting

SettingWhat it does
”AI name”Shown next to every AI reply. Cannot be blank.
”AI avatar”A square image, at least 64 px. PNG, JPG, WebP or GIF, up to 2 MB. Without one, the widget shows a bot icon.
”Greeting”The first message visitors see when they open the chat. Cannot be blank, up to 280 characters.
”Reply time line”A short line under the greeting while you’re open, such as Usually replies in a few minutes. Leave blank to hide it.
”Label AI replies”Adds an AI tag next to the AI name so visitors know who they’re talking to. On by default. Some regions require this label.
”Widget language""Automatic”, English, Portuguese (Brazil) or Spanish.
”Conversation starters”Up to 3 questions, up to 80 characters each. Shown as buttons on the widget home and under proactive messages. Visitors tap one to ask it.

When the AI is off for the project, visitors see the team identity from Handoff and follow-up instead, and the AI name and avatar apply once the AI is on.

How the widget picks a language

The widget interface is available in English, Portuguese (Brazil) and Spanish. It uses the first match from this list:

  1. A language your page sets with data-locale or Axoryn.setLocale().
  2. The visitor’s browser languages.
  3. Your page’s <html lang> attribute.
  4. The Widget language setting.
  5. English.

This controls the widget’s labels and buttons only. The language the AI replies in is set separately by Reply language in the AI settings: by default it matches the visitor, or it can always use one language. See AI agent settings.

Pre-chat form

Turn on Ask before the first message to show a short form that visitors fill in before they can write. Under Ask for, choose Name, Email or both. You must keep at least one selected while the form is on. Asking for an email lets you reply after the visitor leaves the page.

The form is skipped for visitors your site already identifies with a name or email. See Identify your users.

When the form is off, visitors write first. If the widget doesn’t know who they are, it then asks Where can we reach you? in the conversation, with an optional name and an email. Visitors can select Skip, except when nobody can answer right now: then the email is required so the team can reply when they are back.

Hours and away messages

SettingWhat it does
”Use business hours”Set opening hours per day. Outside these hours, visitors see the after-hours message and can leave their email.
”Timezone”The time zone the hours are set in. Hours follow the project timezone, not your browser’s.
”Opening hours”An opening and closing time for each day you’re open. A closing time earlier than the opening time runs past midnight into the next day. Select Copy Monday to weekdays to fill Monday to Friday at once.
”Away message”Shown while you’re within hours but nobody is online.
”After-hours message”Shown outside business hours. If it is blank, the away message is used.

These messages replace the greeting while nobody can reach a person. While you’re outside business hours, the widget home also shows your support hours, converted to the visitor’s time zone, and when you open next.

Note: If every day is closed, visitors always get the after-hours message. The page flags this before you save.

Handoff and follow-up

SettingWhat it does
”Team name”Shown when a person takes over from the AI.
”Team avatar”PNG, JPG, WebP or GIF, up to 2 MB. Without one, the widget shows the team’s initials.
”Wait time shown to visitors”The Usually replies in ~N min estimate visitors see after they ask for a person. 1 to 1440 minutes. Leave blank for 5.
”Remind the team every” and Up toWhile a visitor waits for a person, the team gets a new notification at this interval (default 15 minutes, 0 to 1440), up to this many times (default 3, 0 to 20). 0 turns reminders off.
”Close quiet conversations”Asks if the visitor still needs help, then resolves and closes conversations nobody answers. On by default.
”Ask if they still need help after”Minutes of silence before the widget asks. Default 10, up to 1440. 0 skips the question.
”Resolve after”Default 10 minutes, up to 10080.
”Close after”Default 1440 minutes (1 day), up to 43200.
”Notification sound”Plays a short sound in the visitor’s browser when a reply arrives. On by default.
”Browser notifications”Offers visitors who are waiting for a person a browser notification when someone replies. Off until you turn it on, because the permission is asked on your site’s domain.
”Email unread replies to visitors who left”Emails a reply that is still unread some minutes after it was sent, with a link back to the chat. On by default. Select Open follow-ups for more.

This section also shows how many allowed origins the project has. They are saved separately; select Manage to change them. See Install the widget.

For when the AI hands a conversation to a person, see Human handoff.

What the widget home shows

Some of what visitors see on the widget home comes from other project data:

  • Your project name.
  • Up to three teammates, shown by first name and initials only, most recently active first. The widget never shows who is online right now.
  • Your conversation starters.
  • A link to your help center, when it has published articles.

Script tag attributes and dashboard settings

Your script tag can carry a few appearance attributes. The dashboard values win once the widget has loaded its settings:

AttributeDashboard settingWhich one applies
data-color”Brand color”The dashboard. The attribute only colors the launcher shown while the widget loads.
data-position”Launcher position”The dashboard. The attribute only places the launcher shown while the widget loads.
data-offset-x, data-offset-y”Side offset”, Bottom offsetThe dashboard when an offset is set there. When the dashboard field is blank, the attribute applies.
data-greeting”Greeting”The dashboard when a greeting is saved. Otherwise the attribute, then a default greeting in the visitor’s language.
data-locale”Widget language”The attribute. It overrides the visitor’s browser language and the dashboard setting.

Tip: Set the brand color and position in the dashboard only. A different value on the script tag makes the launcher change color or jump when the widget finishes loading.

For every attribute and the JavaScript functions, see the Widget JavaScript API reference.

Still stuck? Check Troubleshooting or the FAQ. What changed recently