With ChatGen you can have conversations with customers that are automated yet personalized. A big part of this personalization is the ability to send the right message to the right person. You can segment your customers in many different ways — those who land on a particular page, visit your page a certain number of times, are in a specific location, and so on. This is a great way to ensure that you’re personalizing the customer experience in the best possible way

In this article, we'll talk about:

  • The different display conditions that you can implement for your bot flows

  • How to combine these conditions


Step 1

Once you go to Display Conditions, there are a set of options you can choose from.




If you want all visitors to see the bot that has been installed, simply click on “All Visitors”. If you want to show different bot flows to different visitors click on “Display to Visitors Who Match the Following Conditions”. 


There will be a list of options in the dropdown. Let’s go through them one-by-one. 


URL

This refers to the complete URL of a webpage. You can choose between these 4 conditions:



  1. Is any of

  2. Is not any of 

  3. Includes 

  4. Does not include 


To check if a particular URL is in the list of allowed URLs, you can also enter the URL in this box. If the URL is enabled, you will get a response saying “URL matched”, else it will say “URL didn’t match”.



URL Host 


URL host refers to the initial part of the URL referring to the website. In the image below, 
“app.chatgen.ai” is the URL host. 



You can choose between the same 4 conditions as for URL. 


URL Path

The /path that displays after the core URL is the URL path. Here’s the URL path in the image below: 



Once again, this is subject to the same 4 conditions. 


URL Query Param

Any query parameter within the URL is the URL Query Param. 



For the display conditions, refer to the URL section.


ChatGen Status


When you go to Display conditions, and sort by ChatGen status, you can choose to display the bot when the business is either:

  1. Online or 

  2. Offline 

Country

You can also display the bot on the basis of which country the user is viewing the website. 



You can choose ‘Country’ and 


Is any of — and then create a list of all the countries where the chatbot flow will be displayed.



If you choose the  ‘Is not any of’ option then the bot flow will be displayed in all countries except the ones that you have selected. 



If you want, you can also choose a specific country from the drop-down, and then choose particular states (Goa, Maharashtra, Gujarat, etc) as part of the “Is any of” or “Is not any of” conditions. 



IP Address

You can also choose any of the 4 conditions based on different IP addresses. 


Site visits

This allows you to show the bot flow based on how many times the user has visited the site before. You can put “greater than”, “lesser than”, “is between”, “equals” and “does not equal” conditions.



And conditions

Within a Group (Group 1 here), you can keep adding as many conditions as you want. These conditions will operate as “And” conditions. This means that the flow will only get displayed if ALL the conditions in the group are met.



Or conditions

For “or” conditions, you need to start another group. So you can click on “Add a Group” and start Group 2. In this case, the bot flow will be displayed if the conditions in either Group 1 or Group 2 are met.



Frequency

This talks about how frequently the bot should be loaded on the webpage. 



There are 3 options:

  1. On every page load — which means the bot flow will reload from the beginning every time the page is refreshed

  2. Until they interact once per session (30 minutes) — which means the bot will reload after every 30 minutes while they are interacting

  3. Until they interact then hide it — the bot will not be refreshed as long as the user is interacting with the bot, irrespective of the time frame.


Publish changes

To make sure all the changes to display conditions are being implemented, click on Publish Changes on the top right corner: