↑↓ selectEnter openEsc close

    1. Elbuz
    2. Website chat
    3. How to set up the chat widget on your website

    How to show AI hints on pages and embed the chat in a page

    4 min readUpdated

    The Elbuz chat can speak first: product questions next to the button, an AI overview or product finder in the page, and an open chat window instead of the button on “Contacts”.

    When you need this:

    • Visitors miss the chat button — questions about this product appear next to it.
    • A shopper doesn’t know what to ask — a page card with ready questions.
    • A category has hundreds of products — “Selection assistant” narrows the choice.
    • The support page needs an open chat — embed it in the page.

    Where to start: “View” tab → “Contextual AI suggestions” card → “Context card when opening a chat”.

    What hints can do

    • Page card — photo, price, a short AI description and question buttons at the bottom of the conversation. On by default.
    • Hints next to the button — questions that change next to the collapsed chat button.
    • AI blocks — “Product overview (AI)”, “Selection assistant” or your own block, embedded in the place you choose on the page.
    • Embedded chat — the chat window inside a page block, without the button.

    All of this works only when the chat button is shown on the website: the “Hidden” position or “Show AI chat” turned off disables hints and AI blocks. The embedded chat doesn’t depend on the button.

    When AI generates hints and what it costs

    Hints next to the button, the page card and “Product overview (AI)” are generated by AI once per page and language, then shown to everyone from the saved copy for 365 days. The order is:

    1. Both switches are off — nothing happens.
    2. This page and language already have a copy — it’s shown without a request to AI. Ad tags in the URL (UTM and similar) don’t affect the copy.
    3. There’s no copy, and the visitor hasn’t written anything in the chat yet — no hints, and no request either.
    4. There’s no copy, and the visitor has already written in the chat — AI generates the hints. This generation is paid, at the price of the model selected for the chat.

    Hints are never generated on search, cart, checkout and payment pages. So a new page gets hints not right away, but when it’s opened by a visitor who has already talked to the chat.

    The “Contextual AI suggestions” card: hints next to the button, the page card and the number of questions
    1Hints next to the button
    2Context card
    3Number of question buttons
    1. Short hints beside the collapsed chat button.
    2. On out of the box: a product or category card at the bottom of the conversation.
    3. From 1 to 4 question buttons on the page card.

    Page card when the chat opens

    “Context card when opening a chat” is on in a new widget. When a shopper opens the chat on a product page, a card of that product appears at the bottom of the conversation: photo, price, a short AI description and question buttons. On a category page — a category card. Other pages have no card.

    “Number of question buttons” sets how many question buttons AI prepares for the page card: delivery, warranty, what’s in the box. From 1 to 4, 2 by default. Besides the questions, the card also has short hints — up to six.

    Hints next to the chat button

    The “Hint slider above the chat button” checkbox in the “Contextual AI suggestions” card turns on hints next to the button: AI prepares up to six short hints for the page; the first appears right after loading and stays for 15 seconds, then they change every 10 seconds and when the page is scrolled. While the cursor is on the button, the hint doesn’t change. “Number of question buttons” doesn’t affect these hints. On screens up to 768 pixels, the text next to the button isn’t shown.

    AI blocks in pages

    The “AI blocks on pages” checkbox in the “Proactive hints” card opens a list of rules. Each rule says what to insert and where:

    Rule fields
    FieldWhat it sets
    “CSS selector”the page element the block goes next to, for example .product-info
    “Position”after the element, before it, inside at the end or at the beginning
    “Page type”“Product”, “Category”, “Brand”, “Article”, “Checkout”
    “Block type”what to show (table below)
    “Load on demand”instead of a ready block — a title, description and button; AI works only when the shopper clicks
    Block types
    Block typeWhat the shopper sees
    “Product overview (AI)”hints and question buttons about the product; clicking a question sends it to the chat
    “Selection assistant”finding a product with a few questions; works on category pages, using ten products of the category
    “Custom block”a block AI builds from your “Task for AI” field, taking the page into account

    Page type is checked only for “Product overview” without “Load on demand”: the first such rule whose type matches fires, and the block goes by its selector; no selector, no block. If no “Product overview” rule matches the type (say, a products-only rule while a category is open), the overview goes before the website footer. Rules with “Load on demand” and “Custom block” skip the page type check: the block goes on any page with the selector. “Selection assistant” and “Custom block” are generated once the first visitor opens the page, not after their chat message.

    “Product overview (AI)” uses the same hints as the page card, so it works only when “Context card” or the first checkbox is on in the “Contextual AI suggestions” card.

    “Load on demand” saves on AI: the block is generated only for those who click the button. The title, description and button text are set in the rule for each language; if empty, the defaults are used: “Not sure about this product?”, “AI assistant can create a quick overview for you”, “Generate overview”.

    The “Proactive hints” card: a rule for an AI block in a page
    1AI blocks on pages
    2CSS selector
    3Page type
    4Block type
    5Load on demand
    1. Turns on the rules for embedding AI blocks.
    2. The page element the block goes next to.
    3. Which pages the rule applies to.
    4. A product overview, a selection assistant or your own block.
    5. The block is generated only for those who click the button.

    Chat inside a page

    The “Embed the chat into a page” card at the bottom of the tab inserts the chat window right into a page block. The chat in such a block is open immediately, without close and minimize buttons. Rule fields:

    • the CSS selector of the element the chat goes next to or replaces;
    • “Position” — inside at the end or at the beginning, before, after, or “Replace the element”;
    • “URL contains” — part of the page URL, for example /contacts; several options — as a regular expression between slashes: /contacts|about/. Empty — on all pages;
    • “Height” and “Width” — the block size; without a height — 450 pixels.
    The “Embed the chat into a page” card with one rule
    1Position
    2URL contains
    3Height
    1. Inside, before, after or instead of the element.
    2. Part of the address; several as a regular expression /a|b/.
    3. Without a height, 450 pixels.

    The first rule whose selector and URL match fires. The floating chat button stays on that page.

    Scenarios

    Hints without extra costs

    What to set up. Only “Context card when opening a chat”, “Number of question buttons” — 2.

    What you get. The card is generated once per page, when it’s opened by a visitor who has already written in the chat, and is shown to everyone for a year.

    AI overview on a product page

    What to set up. The “AI blocks on pages” checkbox, a rule: the selector of the product description block, page type “Product”, block type “Product overview (AI)”, “Load on demand”.

    What you get. Under the description — your title, description and button. The overview is generated only for whoever clicks.

    Chat on the “Contacts” page

    What to set up. An embedding rule: the selector of a page block, “URL contains” — /contacts, height 600px.

    What you get. On the contacts page, the chat window is open right in the content.

    What to do when there are no hints

    What you see and what to do about it
    What you seeWhyWhat to do
    A new page has neither a card nor hintsThe page hasn’t been opened yet by a visitor who wrote in the chatOpen the page, send one message in the chat and reload the page (when they’re generated)
    There are no hints anywhereThe button position is “Hidden”, or “Show AI chat” is offBring back the chat button
    The overview button just disappears after a clickThe page has no hints yet and the shopper hasn’t written in the chat, or both switches are off in “Contextual AI suggestions”Turn on “Context card”; the overview appears after the first conversation on this page
    The overview is placed before the website footerThere’s no “Product overview” rule for this page typeAdd a rule for this page type or turn off AI blocks (rules)
    The embedded chat doesn’t appearThe selector isn’t found, or “URL contains” doesn’t match the URLCheck the selector and the URL part; for several URLs use /a|b/ (embedding)

    FAQ

    How much do hints cost?

    There’s no separate price: generation is billed as an AI reply of the selected model. The card and hints are generated once per page and language for 365 days (the order).

    How do I update hints after a product changes?

    The saved copy lives for 365 days and isn’t updated when the product changes.

    Why is there no hint next to the button on a phone?

    On screens up to 768 pixels, the text next to the button isn’t shown, so it doesn’t cover the page. The card in the conversation works.

    How do I show the AI overview on product pages only?

    With a “Product overview” rule with page type “Product”. Rules with “Load on demand” don’t check the page type — for them, use a selector that exists only on the product page (rules).

    Where it is and who has access

    Menu
    Directories → Categories → “Catalog tools” → “Widget settings - Smart Assistant” → the “View” tab, bottom cards
    Prepare
    CSS selectors of the product page, category and contacts blocks — from your front-end developer

    Related topics

    Was this article helpful?

    Missing a feature? Tell us.

    We will add it for free if other users need it too.

    If only you need it, we will agree on it separately.

    Article contents

    Suggest an improvement

    Try Elbuz free