Skip to main content

Add the website widget to GoDaddy Website Builder

GoDaddy Website Builder keeps custom code inside the section you add it to. That means the widget will not float in the corner of every page the way it does on other platforms; it shows inside one section of one page. Because of this, we recommend adding it to your Contact Us page.

Before you start​

  • You need administrator access to your GoDaddy site.

Steps​

  1. Sign in to GoDaddy and go to your Website Builder dashboard.

  2. Select Edit Website (or Edit Site) and open your Contact Us page.

    GoDaddy edit website

  3. Click the + button just below the site header to add a section, and choose the HTML section.

    GoDaddy add an HTML section

  4. Set the section Title to "Chat".

  5. Paste the code below into the Custom Code field:

    <!-- Chat -->
    <script
    id="xapp-js"
    src="https://widget.xapp.ai/xapp-chat-widget.js?key=YOUR_CHAT_KEY"
    ></script>
    <!-- Form / Scheduler -->
    <script
    id="xapp-form-js"
    src="https://form.xapp.ai/xapp-form-widget.js?key=YOUR_FORM_KEY"
    ></script>

    Note! Please replace "YOUR_CHAT_KEY" with your actual widget key.

  6. Set Forced Height to 600 and turn on Center align.

  7. Adjust the section settings as needed, preview your page, then click Publish.

    GoDaddy contact page with the widget

The widget works best on GoDaddy when it is set to open automatically and sized larger (about 1500 px wide by 800 px tall). Whoever provided your code can switch that on for you.

Check it worked​

Visit your live Contact Us page. The widget should appear inside the new Chat section. It can take a few minutes to show up; if you don't see it, clear your browser cache or open the page in a private window.

Troubleshooting​

  • Widget not appearing: make sure you published the site after adding the HTML section.
  • Widget looks cut off: increase the section's Forced Height.
  • Widget only on one page: this is expected on GoDaddy Website Builder; the code only runs inside the section it is in.

Help AI assistants find your business on GoDaddy Website Builder​

AI assistants such as ChatGPT, Claude and Gemini can ask your business questions and send you leads directly, through a connection made for AI agents. When the website widget loads, it adds tags to your page that tell assistants where that connection is.

On other platforms you can also add these tags to the page header, for assistants that read a page without running its scripts. GoDaddy Website Builder doesn't allow code in the page header: custom code only goes in a section on a page. So there is nothing to add here. The website widget's own tags do the job.

What to do​

Make sure the website widget is installed and showing on your site. That is all GoDaddy Website Builder needs.

Check it worked​

  1. Open your website in a browser and wait for the website widget to appear.
  2. Open the browser's developer tools (F12 on Windows, Option+Cmd+I on a Mac) and look at the Elements tab.
  3. Search for mcp-server. You should find it inside the page's <head>, added by the widget.

Troubleshooting​

  • No mcp-server tag: check that the website widget appears on your site. The tags come with it, so if the widget isn't loading, they aren't there either.
  • You searched the page source instead: the page source shows the page before its scripts run, so it won't have the widget's tags. Use the developer tools as above.

Your keys​

Replace YOUR_CHAT_KEY and YOUR_FORM_KEY with your own keys, or copy the finished snippets from Studio instead. Keep only the snippets for the widgets you use.

Auto open and size​

In Studio, set the chat widget to auto open and set its size to 1500 px wide by 800 px tall.

References​