AI marketingFor founders & in-house teams

Chatbot for Google Sites: The Widget That Works

How to add an AI chatbot to your Google Site page — three real methods, step-by-step embed, training your knowledge base, and capturing leads without breaking…

A chatbot for Google Sites is an AI assistant that lives on your site's page and answers visitor questions based on your own documents, pages, and FAQs. It turns a static brochure into a conversational layer that works while you sleep. Google Sites does not support native plugins or third-party code injection, so the widget arrives as an HTML snippet pasted into an embed block, or as a hosted chat link that opens in a new window. The value is immediate: visitors get answers, you capture contact information, and you stop repeating the same explanation over and over. A Google Site chatbot adds a conversational layer on top of whatever content you have already built.

What Is a Chatbot for Google Sites?

Google Sites is a free, drag-and-drop page builder with a very narrow surface area for extensions. You can publish text, images, videos, maps, and forms. You cannot install a WordPress plugin, drop a commerce platform app, or paste raw JavaScript into the page body. That constraint shapes every option on this page.

A chatbot for Google Sites sits on your published page as an embedded widget: a small floating button or inline frame that reads from a knowledge base you supply. You upload PDFs, Word files, FAQ pages, and pricing tables. The assistant replies from that material. It does not browse the open web for every question. When the uploaded documents answer the visitor's query, the response is direct and on-brand. When they do not, the best assistants pass the conversation to a human or collect a name and email address for follow-up.

The reason this matters is simple. Many Google Sites belong to service-area businesses, portfolio pages, or internal hubs that rely on visitors asking the same five questions: hours, location, pricing, availability, and the next step. A human answering those questions once a week is fine. A trained assistant answers instantly and hands off only the complex cases.

Google Sites needs a special approach because the platform blocks the standard route most businesses take. On WordPress, you click "Install Plugin," pick a provider, and configure a widget. On a commerce platform, you add an app from the store. On a custom site, you paste a script tag into the HTML head. Google Sites offers none of those paths. The embed block accepts only an iframe URL or a published widget link. Everything else: the training interface, the knowledge base upload, the lead-capture flow, happens inside the chatbot provider's dashboard before the snippet ever reaches your page.

FeatureGoogle Sites Chatbot (embedded)WordPress PluginCustom Site Script
Setup pathPaste an iframe URL into the embed blockInstall plugin → configure in settingsPaste script tag in HTML head
Knowledge base sourceProvider dashboard (PDFs, pages, FAQs)Plugin settings or databaseCustom CMS or API call
Lead captureBuilt into the widget or routed to emailPlugin field or CRM integrationForm action or webhook
Mobile behaviorScales with the embed blockNative plugin responsive designCSS-controlled floating button
Platform limitsNo code injection, no external JSFull plugin accessFull access

The comparison matches the tool to the constraint rather than ranking platforms. If the site lives on Google Sites, the widget must work within it. If the site lives elsewhere, the widget should still match the page's style and the business's intent. A conversational layer that answers from your own documents is the goal regardless of where the page lives.

See where your site stands. Real PageSpeed scores and 20+ on-page checks, free. Run the free audit →

Three Ways to Add a Chatbot to Your Site

There are three real paths to getting a chatbot onto a Google Sites page. Each has a different trade-off between setup speed, reliability, and visitor experience.

The first path is the embedded widget. You choose a provider that supports Google Sites embedding, upload your documents to the provider's knowledge base, get an iframe URL, and paste it into the Google Sites editor's "Embed" block. The widget appears on the published page as a floating button or inline frame. This approach is common because the provider manages model selection, response quality, and lead routing. You only manage the content feed.

The second path is the hosted chat link. Some providers do not publish a Google Sites embed code. They offer a URL instead. You place a text link or a styled button on your page that opens the chat in a new tab or overlay. It works everywhere, but the visitor leaves your page layout to use the assistant. That extra click adds friction and can reduce the number of conversations that start.

The third path is a custom integration using Google Sites' limited scripting capabilities. Google Sites allows a small amount of HTML and CSS inside the embed block. A developer could build a lightweight wrapper around a provider's API: a custom form that sends questions to a backend and displays responses inline. This gives full control over the look and feel but requires ongoing maintenance, a hosting environment, and someone who understands CORS and API keys. For most small businesses this effort outweighs the benefit.

PathSetup timeReliabilityVisitor experienceBest for
Embedded widget (iframe)A few hoursHigh; provider-hostedSmooth; stays on pageMost businesses
Hosted chat linkA few hoursVery high; always liveExtra click; less smoothProviders without embed support
Custom integrationHours to daysDepends on your codeFully customTeams with dev resources

The embedded widget wins for most users because it balances speed and quality. The hosted link wins when you need the assistant immediately and cannot wait for an iframe URL. The custom route wins when the brand design must match exactly and you have the skill to maintain it.

The Embedded Widget: Step-by-Step Setup

Here is the concrete process for embedding a chatbot widget into a Google Sites page. Follow these steps in order to embed the widget.

Step 1: Choose a chatbot provider that supports Google Sites embedding. Look for a provider that explicitly lists "Google Sites" or "iframe embed" in its integration options. The provider's documentation should show an example iframe URL. Avoid providers that only offer a JavaScript SDK, since Google Sites blocks script injection.

Step 2: Create an account and configure the knowledge base. Upload your business documents: PDFs, Word files, FAQ pages, pricing tables, and any other material you want the assistant to reference. The knowledge base is the single source of truth. If a question cannot be answered from those documents, the assistant should either say so clearly or collect a name and email for follow-up. Do not rely on the model to guess from internet data.

Step 3: Train the assistant on your specific content. Use the provider's training interface to map common customer questions to your actual answers. This is a set of question-and-answer pairs pulled directly from your uploaded files. The more precise the mapping, the fewer hallucinated replies you will see. Update this mapping whenever your hours, pricing, or policies change.

Step 4: Get the embed code from the provider's dashboard. Navigate to the widget settings or installation page in your provider's account. Look for the iframe URL or the HTML snippet labeled for Google Sites. Copy the full URL. It usually includes a token or project identifier in the query string.

Step 5: Open your Google Site editor and paste the code. Go to the page where you want the chatbot. Click "Insert" → "Embed" → "By URL." Paste the iframe URL from Step 4 into the field. Adjust the width and height if needed. Most providers default to a floating button that sits at the corner of the screen. Preview the page before publishing to confirm the button appears correctly on both desktop and mobile layouts.

Step 6: Test the widget before publishing. Open the live preview on a phone and a laptop. Ask three questions the assistant should answer from your documents. Ask one question it should not answer. Confirm the lead-capture form collects a name, email, and message note when the visitor wants follow-up. If anything breaks or looks misaligned, adjust the embed dimensions or switch to the hosted link workaround described below.

Choosing the right provider

The provider must support iframe embedding on Google Sites. It must let you upload your own documents for the knowledge base. It must offer a lead-capture flow built into the widget. These three capabilities are required for a working setup. Other features are optional.

Training the chatbot on your content

Training is a loop: upload, map, test, update. When a new price change or service page is published, feed it into the knowledge base within a day. A stale knowledge base produces stale answers, and stale answers erode trust faster than no assistant at all.

Testing before you publish

Test on mobile first. Most visitors will open the chat from their phone. Check that the floating button does not cover critical content like a contact form or a pricing table. Check that the chat window opens without overlapping the Google Sites navigation bar. If the button covers a form, move it to the opposite corner or reduce its size.

Not every provider publishes an iframe URL compatible with Google Sites. Some only offer a direct link that opens the assistant in a new tab or overlay. This is the hosted chat-link workaround, and it works everywhere because it is just a URL: no script injection, no iframe restrictions, no browser compatibility layer.

The trade-off is friction. A visitor must click the link, wait for a new tab to load, and type a message there. That extra step reduces the number of conversations that start compared to an embedded widget that sits on the page. It is acceptable when the provider cannot deliver a working embed code and the business needs the assistant live within hours rather than days.

Here is how to set up the workaround cleanly:

  1. Obtain the hosted chat URL from your provider's dashboard. This is the public-facing link where a visitor types a question and receives a response.
  2. On your Google Site, add a text element or a styled button near your primary call to action. Label it clearly: "Chat with our assistant" or "Ask a question."
  3. Link that element to the hosted URL. Opening it in a new tab keeps the visitor on your site.
  4. Add a brief instruction sentence below the button: "Tap here to chat: answers are based on our published pages and pricing." This sets the expectation and reduces bounce when the new tab opens.

The hosted link is less smooth than the embedded widget, but it is always live and never breaks when the provider updates their embed script. Use this path when your provider does not offer a Google Sites embed code and you need the assistant available immediately. Test the link on mobile to ensure it opens correctly and the chat interface renders at a readable size.

Training the Chatbot on Your Own Content: What Works

A chatbot trained on your own documents is more accurate and more valuable than one trained on generic internet data. The decision loop for many businesses that use this tool is the framework below.

Map. Upload all relevant documents: service pages, pricing tables, FAQ posts, policy PDFs, and location details, into the provider's knowledge base. Then use the training interface to create explicit question-and-answer pairs for the top ten customer questions. Do not rely on the model to infer answers from raw text alone. Map the question to the exact passage or document that contains the answer. This step takes time per document and pays back in reduced bad replies.

Test. Before publishing the widget live, ask the assistant real questions from your customers. Ask about pricing, hours, availability, and the follow-up process. Record each response. If the assistant answers correctly from your documents, the mapping works. If it guesses or references unrelated content, go back and adjust the knowledge base or the question mappings. Test at least fifteen real customer questions before going live.

Update. The knowledge base is not static. When a price, service, or policy changes, upload the new version and refresh the mappings. A stale knowledge base produces stale answers, and stale answers damage the same trust the assistant is meant to build. Set a calendar reminder once a month to review the top five unanswered questions and feed them back into the map.

This framework: map, test, update, is the only reliable way to keep a Google Sites chatbot accurate. Generic internet data is not a substitute because it does not reflect your hours, your location, your pricing, or your specific service offerings. When the assistant answers from your documents, visitors receive accurate information. When it answers from the open web, they get a guess.

Capturing Leads from Chat: The Mechanism That Matters

A chatbot that only answers questions is a polite brochure. A chatbot that captures leads while answering is a growth engine. The mechanism matters more than the conversation quality because the goal is to turn a visitor's curiosity into a follow-up conversation with a human.

Here is the lead-capture checklist to use when configuring your widget:

Checklist0 of 5 done

The friction point is the form itself. If the assistant asks for many fields, most visitors will abandon. If it asks for name, email, and a one-line note, the completion rate stays high. The assistant should only request contact details when the conversation reaches a point where follow-up is needed: pricing inquiry, booking request, complex question, not on every greeting.

A chatbot that captures leads without friction is more valuable than one that just answers questions because the value is not the answer. The value is the next step. A visitor who receives an accurate answer and then a prompt to share their email gets two things: immediate help and a path forward. That combination drives conversion better than either one alone.

Cost and Effort: DIY vs. Agency vs. Software

Many businesses that put a chatbot on a Google Site face a choice: set it up themselves, pay someone else to do it, or use a software platform that handles both. The decision depends on time, budget, and how much control you want over the content feed.

PathMonthly costSetup timeOngoing effortBest for
DIYLow; provider subscription fee onlyA few hoursHigh; you update knowledge baseBusinesses with time and content access
AgencyHigh; retainer or project feeA few weeksLow; agency manages updatesBusinesses that want to outsource
SoftwareMedium; per-usage or tiered planA few minutesMedium; you manage content feedBusinesses wanting balance of speed and control

The DIY path gives you full control over what the assistant answers and when it changes. You upload documents, map questions, and test responses yourself. The cost is low because you only pay the provider's subscription. The effort is high because you own the content loop. This path works best for businesses that have the time to update their knowledge base weekly and want to keep every answer on-brand without an intermediary.

The agency path removes all effort from your team. An agency sets up the widget, configures the knowledge base, trains the assistant, and manages ongoing updates. The cost is high because you pay for their time and expertise. This path works best for businesses that need the assistant live within days and do not want to allocate internal hours to content management.

The software path sits between the two. You use a chatbot platform that handles the setup and training interface, but you still upload your documents and review the mappings yourself. The cost is medium: higher than pure DIY because you pay for the platform's features, lower than an agency because you keep the content loop in-house. This path works best for businesses that want a guided setup but also want to maintain control over their knowledge base.

The AI Chatbot for Your Website: A Better Option for Most Businesses

A chatbot on a Google Site works as a conversational layer on top of a limited page builder. It answers questions from your documents, captures leads, and reduces the time you spend repeating the same explanation. But it is a compromise by design. Google Sites does not support native plugins or third-party code injection. The widget lives inside an iframe or a hosted link. It cannot read your analytics data, trigger custom automations, or integrate with your CRM without the provider's own routing layer.

A full AI chatbot for your own website removes those compromises. It runs on your domain, connects directly to your analytics and CRM, reads your content natively, and scales with your site's traffic without the constraints of an embedded block. It can answer visitors, capture leads, and drive conversions without the limitations of any third-party page builder. The dedicated tool built for your business is more reliable, more accurate, and more valuable than a Google Sites widget because the entire stack: training, lead routing, analytics, and brand voice, lives under one roof.

The Google Sites widget is a fast fix for a constrained platform. The AI chatbot for your website is a long-term solution for lead generation that scales with your business. If your goal is to turn every visitor into a follow-up conversation, the dedicated assistant on your own site is the better path. If your goal is a quick conversational layer on a limited page, the embedded widget delivers that result within an afternoon.

Get a Second Opinion on Your Site

Use it to prioritize the pages that matter most before adding a conversational layer on top.

Vannor writes and publishes articles like this one for your site: try it free for 7 days at vannor.ai/pricing.

Related reading: Do Chatbots Increase Conversions or Just Waste Time? · AI Chatbot for Lead Generation Live Support

Next step

Try it on your own site

Run the free audit on one page: real speed scores and on-page checks, with the fixes in order.

Every post here was written by Vannor. Researched, written and reviewed by the Vannor Engine on our own infrastructure.

How the engine works

Put the engines
on your own site.

Try it on your own site for 7 days. Cancel before day 8 and you're never charged. Several sites or brands? Talk to us and a person will reply.

7 days free, then $990/mo. Card or PayPal required. Cancel anytime before day 8.

01
Start your trialCard or PayPal, nothing charged today.
02
Add your websiteYour audit and keyword research start.
03
Approve your first draftsUp to five articles, written for your site.