Installation on SITE123
Note: SITE123 only allows plugins and custom code on a Premium plan. The free plan cannot add custom code.
This guide will help you add the XAPP widgets to every page of your SITE123 website using a custom code plugin.
Prerequisites
- Access to your SITE123 website editor
- A SITE123 Premium plan
- Your unique script snippet or widget key from Studio
- See instructions here
Installation Steps
-
Open Your Website Editor
- Log in to SITE123 and open the website you want to edit.
-
Open the Plugins Settings
- In the editor, click
Settings(the gear icon) and selectPlugins.
- In the editor, click
-
Add Custom Code
- Click
Add New>Add New Custom Code. - Enter a name to identify the code (e.g., XAPP Widgets).
- Set
EnabletoYes. - Set the location to
Before closing the body tag.
- Click
-
Insert the JavaScript Snippets
- Paste the following snippets into the code editor exactly as shown, including the
<script>tags:
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 code editor exactly as shown, including the
-
Save Your Changes
- Click
Save.
- Click
-
Publish Your Website
- If your editor shows a
Publishbutton with pending changes, click it so the code goes live.
- If your editor shows a
-
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: Confirm the custom code entry is set to
Enable: Yes, uses theBefore closing the body taglocation, and that you saved and published. Check your plan if you cannot add custom code. - 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.