Allowed Websites
Allowed websites is the list of sites where your Reveto chat widget may load. Addresses must match exactly, and a site that isn't listed shows no chat at all.
The list is in the 'Install' view, under 'Allowed websites'. It stops someone from copying your line of code onto their own site and spending your AI replies there.
How the list starts
A new widget has an empty list, and an empty list lets any site load it. The Install view shows an amber notice: 'Any website can load this widget right now. The first site that loads the snippet is added here, and from then on only listed sites work.' The first site to load the line is saved to the list, and exact matching starts from that moment.
If the first load came from a test, staging or preview address, that address is now the only allowed site, and your real site shows nothing. Add the live address as soon as you see the wrong one on the list.
How matching works
Each entry is a scheme, a host and, if there is one, a port. Paths and query strings don't count. An address matches only if all three parts are the same, and there are no wildcards.
| On the list | Page the widget is on | Loads? |
|---|---|---|
| https://example.com | https://example.com/pricing | Yes |
| https://example.com | https://www.example.com | No. Add www.example.com as well |
| https://example.com | http://example.com | No. http and https are different |
| https://example.com | https://shop.example.com | No. Add each subdomain |
| https://example.com | https://example.com:8080 | No. The port differs |
Add a website
- Open Operations, then 'Website chat', then 'Install'.
- Under 'Allowed websites', type the address in the box, for example example.com.
- Click 'Add website'. The site is saved straight away; there is no separate save button.
- Repeat for every domain, www version and subdomain where the line is pasted.
You can type a bare domain and Reveto adds https:// for you. A full link such as https://example.com/contact is trimmed to https://example.com. If the entry isn't a web address you see 'That does not look like a website address. Try example.com', and an address that is already listed gets a note saying so.
When your list has example.com but not www.example.com, or the other way round, the Install view points it out with '… is not listed, and counts as a different site.' Click 'Add it' to add the missing version. This hint covers the main domain and its www version only. Add subdomains such as shop.example.com yourself.
Remove a website
Click the x next to an address to remove it. The widget stops loading on that site from the next page view. You can list up to 20 websites. At 20, the add box is replaced by 'You can list up to 20 websites. Remove one to add another.'
If you remove every address, the list is empty again and any site can load the widget until the next one is recorded. Keep at least your main site listed.
A site that isn't on the list shows nothing: no chat button and no error on the page. If the widget works on one domain but not another, check this list first.