Installing the Widget
Add the Reveto chat widget to your website with one line of code, then check that the Install view says 'Installed and answering'. The same line works on every page and every site on your allowed list.
Each company in Reveto has one widget. Its settings, knowledge and allowed websites apply everywhere the line is pasted. Until the widget has been seen on a site, the 'Website chat' tab opens on 'Install'.
Copy the code
- Open Operations and select the 'Website chat' tab.
- Click 'Install'.
- Under 'Add this to your website', click 'Copy'. The button changes to 'Copied' for a moment.
- If your browser blocks copying, the code is selected instead, so you can copy it with your keyboard.
The line looks like this, with your own key in place of the x's:
<script src="https://reveto.ai/widget.js" data-key="wk_live_xxxxxxxxxxxxxxxxxxxxxxxx" async></script>
Paste it on your site
- Paste the line just before the closing body tag on every page where the chat should appear.
- If your site builder has a setting for code that runs on every page, paste it there once instead of page by page.
- Publish the site.
The line has the async attribute, so it loads without holding up the rest of your page. The chat runs in its own frame, so your site's styles don't change how it looks.
Check that it works
- Open a page of your site where you pasted the line.
- Look for the chat button in the corner you picked in Settings. It sits bottom right unless you changed it.
- Back in Reveto, open 'Install' and reload the page. The status box reads 'Installed and answering', with 'Last seen' and the time.
- If it still says 'Not detected yet', wait a minute and reload again. It can take a minute after you publish.
The first website that loads the line is added to 'Allowed websites' automatically, and from then on only listed sites work. If you test on a staging or preview address first, add your live domain to the list before you launch.
Built-in labels such as 'Ask a question' and 'Where can we reach you?' follow the lang attribute of your page when it is English, Polish, Ukrainian, Russian, German or French.
Hiding or removing the widget
To remove the chat for good, delete the line from your pages. To hide it for a while without editing your site, tick 'Pause the widget' in Settings and click 'Save changes'. The line can stay on your pages while the widget is paused.