
The Gobot client adds a function called “gobot” which is attached to the window object. The API is automatically loaded on your website as part of the Gobot client. Use of this API requires some javascript knowledge and the implementation will vary depending on your use case and website platform. Gobot provides a basic javascript API which can be used to either trigger a bot or hide the chat window. Navigating to a different URL (including removing the anchor or a different anchor on the same page) would allow the bot to trigger again. This is because the URL already contains the anchor keyword so Gobot cannot detect the second click. Note that if the visitor closes the chat popup then clicking the link again will not trigger the bot. How you do this depends on your website platform.
Add a link on your website which links to your anchor. Click Save and Continue to save your changes. Set your anchor (#example) for the “on all pages with URLs that contain” field. Set your website domain for the “Bot will operate on this website” field. If your trigger link is found in multiple pages or throughout your entire site then you can avoid listing all of the URLs by using the “visitor’s URL contains” option. Simply add your URL(s), making sure to append the anchor at the end of each one. If your trigger link is only found on one or a couple of pages then you can use the “on a specific page(s)” option. Scroll down to the section labeled, “Tell us what website you want your bot to run on”, and configure the “Bot will operate” setting based on your use case:. On the General tab, find the section labeled, “Select how the bot runs”, and select the “Pops up under certain conditions” option. The instructions will use the domain and #example as the keyword, but you will need to change these for your website and use case. These anchor are commonly used to scroll to specific portions of the page without causing the browser to reload or navigate away from the page.įollow these steps to configure a URL trigger using an anchor link. For example, the URL,, has “#example” as the anchor. You can use this to trigger a bot when the visitor clicks a particular link by using an anchor as the link URL and setting the anchor as the bot keyword.Īn anchor in a URL is the last portion of the URL which follows the hash or pound (#) sign. One of the options is setting a bot to run on pages when the URL contains a certain keyword. Gobot gives you control over which page or pages your bot is allowed to run. The second method uses a URL anchor as a keyword trigger. The visitor will still be able to trigger the bot by clicking the toggle button. You can still configure the other popup conditions for the bot from the Triggers tab. Here you can change how the button looks, change the colors and text, and even upload your business logo or another image. Scroll down to the Widget Style section.
On the General tab, find the section labeled, “Select how the bot runs”, and select the “Remains on your site at all times” option (this is the default for new bots).
Select your bot from the bot dashboard and click Bot Settings from the right panel.The button position, color and style is fully customizable.įollow these steps to configure the toggle button: By default, bots are configured to add a toggle button which stays at the edge of the browser window. The first method is simply using Gobot’s built-in toggle button. Gobot provides three methods for these cases: However, you may want to give your visitors the option of manually triggering a bot themselves. These options range from a simple delay timer up to more complex conditions like page scroll position or first-time vs repeat visitors. Gobot provides several options to control when and how a bot is triggered on your website.
Gobot tello how to#
This article details how to trigger a bot when your website visitor clicks a link or button.