Installation on Weebly
This guide will help you add the XAPP widgets to every page of your Weebly site using the site-wide Footer Code setting.
Prerequisites
- Access to your Weebly site editor
- Your unique script snippet or widget key from Studio
- See instructions here
Installation Steps
-
Open Your Site Editor
- Log in to Weebly and click
Edit Site.
- Log in to Weebly and click
-
Go to SEO Settings
- Click
Settingsat the top of the editor, then selectSEO. - If your editor has no
Settingstab, look for the site's SEO settings underWebsitein your site dashboard instead.
- Click
-
Insert the JavaScript Snippets in Footer Code
- Paste the following snippets into the
Footer Codebox. Code here is added just before the closing</body>tag on every page.
Chat Snippet
<script
id="xapp-js"
src="https://widget.xapp.ai/xapp-chat-widget.js?key=YOUR_CHAT_KEY"
></script>Note! Please replace "YOUR_CHAT_KEY" with your actual widget key.
Form / Scheduler Snippet
<script
id="xapp-form-js"
src="https://form.xapp.ai/xapp-form-widget.js?key=YOUR_FORM_KEY"
></script>Note! Please replace "YOUR_FORM_KEY" with your actual widget key.
Search Snippet
<script
id="xapp-search-js"
src="https://search.xapp.ai/xapp-search-bar.js?key=YOUR_SEARCH_KEY"
></script>Note! Please replace "YOUR_SEARCH_KEY" with your actual widget key.
importantFor the search bar, you will also need to setup a button on your website to trigger the search bar pop over, please see these instructions.
- Paste the following snippets into the
-
Save Your Changes
- Click
Save.
- Click
-
Publish Your Site
- Click
Publishin the top right of the editor. Changes to header and footer code don't go live until you publish.
- Click
-
Verify Installation
- Open your live site in a new browser tab (or a private window, so you are not seeing a cached copy).
- Look for the chat button in the bottom corner of the page. If you installed the Form / Scheduler snippet, check that your Book button appears and opens the scheduler.
- Visit a second page to confirm the widgets load site-wide.
Troubleshooting
- Widget Not Appearing: Make sure the snippet is in the site-wide
Footer Codebox underSettings>SEO(not a single page's SEO settings) and that you published after saving. - Script Errors: Check your browser's console for JavaScript errors, and confirm the key in the snippet matches the one in Studio.
References
For additional support, reach out to XAPP support.