All posts
Landing pages & CRO

AI Chatbot Widget Design for Websites: 12 Rules

AI chatbot widget design for marketing sites: 12 rules for placement, opening prompts, human handoff and keeping chat from blocking your main CTA.

By Mehdi Hassan9 min read

The short answer

Good AI chatbot widget design on a marketing website keeps the launcher small and out of the way of your main CTA, never opens itself on arrival, says plainly that it's AI and what it can answer, offers a visible route to a human, and sends ready buyers to the page's primary action instead of replacing it.

Key takeaways

  • A website chat widget is a secondary CTA: it should route people to your main action, not compete with it.
  • Show chat on pricing, docs and demo pages; hide it on paid landing pages that need an uninterrupted read.
  • Open with a scoped greeting and three or four suggested questions taken from real sales calls.
  • Make the human handoff visible from the first message, with honest hours and an email fallback.
  • Load the widget late and measure primary conversions, not just chat opens.

Part of Call to Action Guide: How to Write, Place and Design CTAs That Get Clicked

What makes good AI chatbot widget design on a marketing site?

Good AI chatbot widget design on a marketing site answers a buyer's question in a few messages and then hands them to your main conversion, a demo, a trial or a call. The widget is a helper on a page that already has a job. When it starts doing that job itself, with its own forms, popups and offers, it competes with the page.

That makes a website chat widget different from the chat inside your product. In-product chat is the product: it needs streaming states, history and message actions, which our guide to AI chat interface design covers. A marketing widget is closer to a call to action, so the rules in our call to action guide apply: one clear next step, placed where the reader is ready for it. If you're still deciding whether to add chat at all, read sticky CTAs, exit-intent popups and chat widgets first. The 12 rules below assume you've decided yes.

Where should a website chatbot sit on the page?

A website chatbot should sit in a bottom corner as a small launcher that never covers the primary CTA, form fields or the cookie banner's buttons. Placement is less about which corner and more about what the launcher overlaps at each screen size.

Rule 1: keep the launcher clear of your CTA. Check the hero, the sticky CTA bar and every form on a phone. If the bubble sits on top of a submit button, move it or hide it on that page. Rule 2: make it reachable and keyboard friendly. WCAG 2.2's Target Size (Minimum) criterion asks for targets of at least 24 by 24 CSS pixels, and its Focus Not Obscured criterion means a floating widget must not hide the element a keyboard user has focused. Give the launcher an accessible name such as "Ask a question", not just an icon. Rule 3: show it only where it helps.

Page type

Show the widget?

Why

Pricing

Yes

Plan and billing questions block buying decisions

Docs and integrations

Yes

Technical buyers ask specific, answerable questions

Demo or contact page

Yes, quietly

Catches people unsure whether to book

Paid ad landing page

Usually no

The page should make its case without interruption

Blog posts

Rarely

Readers aren't buying yet; a launcher adds noise

Checkout or signup

Only for support

Help with errors, never a new offer

Should a chat widget open by itself?

No. A chat widget should not open by itself on arrival, because it covers the page before the visitor knows what you sell. Let the launcher sit closed, and earn any proactive message with real engagement.

Rule 4: no auto-open, no sound. A panel that slides open after a few seconds is a popup by another name, with the same costs to trust and attention. Rule 5: trigger proactive messages on intent, not time. A single short message above the launcher can help when the behavior suggests a question: a second visit to pricing, a long pause on the security section, or switching between plan tabs. Keep it to one line ("Questions about seat pricing? Ask here."), show it once per session and let the visitor dismiss it for good.

What should a website chatbot's opening message say?

A website chatbot's opening message should say it's an AI assistant, name what it can help with and offer a few suggested questions. A blank box that says "Ask me anything" puts the work on the visitor and invites questions the bot can't answer.

Rule 6: disclose and scope. Say plainly that the visitor is talking to an AI, and set the scope: "I'm an AI assistant. I can answer questions about plans, integrations and security, or connect you with the team." Disclosure is also becoming a legal matter: the EU AI Act includes transparency rules requiring that people be told when they're interacting with an AI system, so check current guidance on when they apply to you. Rule 7: suggest real questions. Use three or four prompts taken from your sales calls and support inbox, not generic ones.

  • Good: "Does it work with Salesforce?", "Is there a free trial?", "How is pricing calculated for teams?", "Talk to a person".
  • Weak: "Learn more", "Get started", "How can you help me?".

The same rules that make button labels work apply here: name the outcome in the visitor's words. Our CTA button copy examples and the guide to conversion microcopy cover how to write short labels that get clicked. Vague bot answers usually mean vague source content, the problem behind generic AI-written website copy.

How should an AI support widget hand off to a human?

An AI support widget should offer a human from the first message and hand over with the conversation attached, so the visitor never repeats themselves. A bot that hides the human option behind several failed answers loses exactly the buyers who had a real question.

Rule 8: keep "talk to a person" visible, as a suggested prompt and as a fallback whenever the bot isn't confident. Rule 9: be honest about availability. If nobody is online, say when someone will reply and ask for an email in the thread, rather than leaving the visitor waiting for an answer that won't arrive tonight.

  1. Detect the handoff moment

    The visitor asks for a person, the bot's answer is low confidence, or the question is about a contract, a custom deal or a security review.

  2. Say what happens next

    "I'm passing this to the sales team. They're online now and usually reply in this chat." Or, after hours, the real reply window.

  3. Collect one detail

    Ask only for a work email, inside the thread. A full form here repeats the friction the chat was meant to remove.

  4. Pass the transcript

    Send the conversation, page URL and campaign source to the human and the CRM, so nobody asks the same question twice.

  5. Close the loop

    Notify the visitor by email when the human replies, since many visitors leave before it arrives.

How do you keep a chat widget from blocking conversion?

You keep a chat widget from blocking conversion by making the page's primary CTA the widget's main exit. When a visitor is ready, the bot should offer the same demo booking or trial signup the page offers, not a separate lead form with different fields.

Rule 10: route to the primary action. If the page's goal is a booked demo, the bot's best answer to "Can I see it?" is the booking link or an inline calendar, using the same flow as the page. Two competing paths split attention, which is the problem covered in how many CTAs a page should have. If the bot must collect details, keep to the fields your landing page form already asks for.

Rule 11: load it late and keep it light. Chat scripts add work to the page. Load the widget after the main content is interactive, or when the visitor first hovers or taps the launcher, so it doesn't slow the moment the page makes its case. Google's Interaction to Next Paint metric, documented on web.dev, is where heavy third-party scripts tend to show up. On phones, open the chat as a full-height sheet with a large close button, and return the visitor to the same scroll position when they close it.

Hypothetical example: a widget that competed with its own page

For example, suppose an AI startup's pricing page has a "Book a demo" button and a chat widget that, when visitors ask about pricing, replies with its own five-field lead form. Visitors who chat give partial details and leave, and the demo calendar sees fewer bookings from that page.

The redesign changes the bot's answer to pricing questions: it answers the question, then offers the same demo calendar the page uses. It stops asking for a phone number, hides the launcher on the paid landing page and loads the script only after the first tap. The team then compares demo bookings from that page before and after.

How do you measure whether a website chat widget works?

Measure a website chat widget by its effect on primary conversions, not by how many chats it starts. Rule 12: track the whole path, from launcher open to answer, handoff and the conversion that follows.

  • Events: launcher opened, suggested prompt clicked, handoff requested, booking or signup started from chat.
  • Outcome: demo bookings or trials on pages with the widget, compared with a period or variant without it.
  • Quality: a weekly read of transcripts for questions the bot couldn't answer.

The transcripts are the most useful output. If the same question comes up every week, the page should answer it, which makes the widget a research tool for your copy. Our guide to whether AI-generated websites convert worse covers the same point: clear, specific content decides conversion more than the tool that produced it.

If you use Intercom, our Intercom integration page explains how we load and route it on Framer, Webflow and Next.js sites. AI companies, whose buyers often expect to try an AI assistant on the site itself, should also see our page on generative AI website design.

Frequently asked questions

Should a chatbot widget be on the left or right side?
Most sites put the chat launcher in the bottom-right corner, so it's the familiar convention and a safe default. The side matters less than what it covers. If your sticky CTA, cookie banner buttons or form submit button sit bottom-right on mobile, move the launcher or hide it on that page rather than letting the elements overlap.
Do I need to tell visitors they're talking to an AI?
Yes, say it in the opening message. It sets expectations about what the bot can answer and builds trust when it hands over to a person. It's also increasingly a legal question: the EU AI Act includes transparency rules for AI systems that interact with people. Check current guidance for your markets, but a plain one-line disclosure is good practice everywhere.
Should the chatbot ask for an email before answering?
No. Asking for an email before the first answer turns the chat into a gated form and loses the visitors who only had a quick question. Answer first, then ask for an email only when it's needed: a human handoff after hours, a quote, or a follow-up the visitor requested. One field inside the thread is enough.
Can an AI chatbot replace the contact form on a website?
Usually not. Some visitors prefer a form, some use assistive technology that works better with standard forms, and many sales teams need structured fields for routing. Keep a short contact or demo form as the primary path and let the chat widget answer questions and route people to it. The chat complements the form rather than replacing it.
What should a website chatbot be trained on?
Train it on the sources a good salesperson would use: your pricing page, docs, integration list, security page, and approved answers to common sales questions. Exclude internal notes and outdated pages. Review transcripts every week for wrong or vague answers, and fix the source content rather than patching the bot's replies one by one.

· CEO & Design Director

Copywriter, designer and developer, and founder of Designify Studio. Over five years, 60+ projects across 14+ industries, for startups that have raised $300M+.

Want this done for you? Landing page, $6,000.

One conversion-focused page, designed by us, developed in Next.js and animated. $6,000, one-time, fixed price. Book a free 30-minute call to see if it fits.

Schedule Call