Have you ever found yourself in a situation where you're receiving chat requests from locations where your business isn't operational? Having to set routing rules or manually delete chats from your logs can be tedious and time-consuming, hampering your day-to-day operations.
Wouldn't it be great if you could simply hide your chat widget and prevent visitors from non-operational locations from initiating chats?
You can achieve this by using the visitor.getGeoDetails() API, which allows you to hide the SalesIQ chat widget based on location.
You can add all the mentioned code after the Zoho SalesIQ widget code or above the </body> tag in your website's source code.
Let's take a look at the code snippet below:
<script>
$zoho.salesiq.ready = function(embedinfo) {
$zoho.salesiq.floatbutton.visible("hide");
$zoho.salesiq.visitor.getGeoDetails();
}
$zoho.salesiq.afterReady = function(info) {
if (info.Country == "AUSTRALIA") {
$zoho.salesiq.floatbutton.visible("show");
}
}
</script>
The above code is used to hide your SalesIQ chat widget for visitors in all countries except Australia.
If you want to hide the chat widget for only a particular country, use the code below:
<script>
$zoho.salesiq.ready = function(embedinfo) {
$zoho.salesiq.floatbutton.visible("show");
$zoho.salesiq.visitor.getGeoDetails();
}
$zoho.salesiq.afterReady = function(info) {
if (info.Country == "CHINA") {
$zoho.salesiq.floatbutton.visible("hide");
}
}
</script>
The above code is used to hide your SalesIQ chat widget for visitors in China. Likewise, you can replace the country name to hide the chat widget for the following country.
How do I hide widgets in multiple locations?
<script>
$zoho.salesiq.ready = function(embedinfo) {
$zoho.salesiq.floatbutton.visible("show");
$zoho.salesiq.visitor.getGeoDetails();
}
$zoho.salesiq.afterReady = function(info) {
if (info.Country == "CANADA"|| info.Country=="INDIA") {
$zoho.salesiq.floatbutton.visible("hide");
}
}
</script>
Note: The country name should be in all caps. Ex: INDIA
Tip 2: How do I increase chat wait time?
In certain business conditions, there may be only a few operators available, making it difficult for them to respond within the maximum configurable time of 2 minutes allowed in the SalesIQ app.
For such cases, you can use the chat wait time API to set additional wait time as per your business requirements.
Did you find this post helpful? Would you like to see more posts like this in the future? Please let us know in the comments below, and feel free to ask any questions you may have! We're here to help.
Recent Topics
Zoho Projects Currency fields in Deluge script
I have several functions I've written in Zoho Projects that take one or more currency fields as input parameters (arguments). These functions have been working just fine for months, and I made no changes to any of them. Today (Jan 21, 2025) I noticed
Kaizen #174 : Client Script Commands
Hello everyone! Client Script Commands feature is a highly anticipated functionality that enables users to trigger Client Scripts anywhere within Zoho CRM, extending the scope of client script beyond standard pages and events. In this Kaizen post, we'll
Check for new emails period
Hello. We are currently using our own mail server and Zoho Mail as a client through IMAP. Users have frequently complained about the 3 minute frequency when checking for new emails, finding that waiting 3 minutes for a new email is too long. We are considering
Zoho CRM - Zoho Creator - NFC Tag
Hi, I'm looking for support for Zoho Creator and NFC. I have read the existing knowledge base, however not all is clear. We have Zoho CRM with custom module 'Equipment' where we have around 1000 records. Our idea is to attach physical NFC tags to the
Profile photo not syncronized in Zoho Recruit - Zoho CRM syncronization
How come, profile photos (candidates, contacts, and accounts) can't be synchronized between Recruit and CRM? Surely it can't be a technical problem? Is there some solution that I haven't noticed?
Transformez vos interactions événementielles avec l’intégration WhatsApp dans Zoho Backstage
Un des plus grands défis de l'organisation d'événements est de garder les participants informés et engagés tout au long de l'événement. L'intégration de WhatsApp dans Zoho Backstage permet aux organisateurs de communiquer directement avec les participants,
Tip of the Week - Timeline User Filter for Dashboard
Does the Date User Filter in your Dashboard leave out a few reports from filtering? This happens when the reports are not created over the same table and the (time) column over which the user filter is created. To solve this, Zoho Reports has a Timeline User Filter. This filter applies the criteria on all reports, matching it with the best possible date column associated with a report. i.e., if your reports are based on a date column, then it will filter it for that data column. To know more on
Getting the Record Id to appeal in the Deals Module
Hi, I am looking to get the record ID to appear on a deal record. I need to get recrod ID to appear on a document so when they are returned they can be match up with the record we hold in a seperate case management system. The record ID is uploaded to
Sandbox for consultants who are helping me develop a report
Hi. I occasionally need to hire someone who has a Zoho skill I don't have and I need to give them access to my account so they can work. It makes me a bit nervous, but I need them to get a work product done. I set their access as "User" and it turns out
I there any way to use a digital pen with a digital desk like Wacom to take notes in Zoho Notebook?
Hey, guys. I wonder if there's any way to handwrite something and it pull down on Zoho's notebook as a readible image or something like that. Imagine the situation: I don't want to write with a keyboard, but with the digital desk, and I want to the text
What's New in Zoho Analytics - December 2024
Hello Users! We’re excited to bring you a roundup of the latest features and improvements in Zoho Analytics. These updates are designed to elevate your data analytics experience, making it more powerful, interactive, and seamless. Let’s dive in! Expanded
Task templates under a project
Under a project, we might have numerous task lists and these might be for all sorts of things so typically, if a task is created under a task list, it should contain the fields relevant for that particular purpose. However, if I create a task template,
Transfer contact to a lead.
Is there a way to transfer a contact from CRM to a lead without having to re enter everything.
Is there a way to show contact emails in the Account?
I know I can see the emails I have sent and received on a Contact detail view, but I want to be able to see all the emails that have been sent and received between all an Accounts Contacts on the Account Detail view. That way when I see the Account detail
Animated GIF Images in Chat
I know this seems to be a small feature request but in a recent Cliq update Zoho disabled autoplay for animated GIFs posted in Cliq conversations. We think this was not a good change. In our organization, animated GIFs in a chat play a role in expressing
Increasing column width in Zoho CRM search result
My company names are long, and when I search them in the Zoho CRM search, I'm not able to view the entire full name which makes it hard to select the correct item quickly. I tried reducing the amount of columns to just 1, but still the company name column
Create CRM Notes from Creator using Deluge
I sync our CRM with information from a Creator application using the zoho.crm.create and zoho.crm.updateRecord functions, passing in the appropriate Map variables. This is working fine. However, I'd like to be able to create Notes associated to CRM modules
Solution to Import PST File into Office 365.
MailsDaddy OST to Office 365 Migration Tool is an outstanding solution to recover OST files and migrate them into Office 365 without any hassle. Using this software users can multiple OST files into Office 365 with complete data security. It offers users
Recording inventory purchase as an expense
Hi, Currently Zoho only allows you to enter inventory purchase as a bill and make a payment for that bill. This is a two-step process which can end up taking quite a long time to record entries. As opposed to this, QuickBooks has a feature that allows
Problem during switching between accounts
Hello, We have a problem during switching between "accounts" and "delegata accounts" in zoho mail desktop. Quite often while doing it, zoho mail app shows "Opps... A problem has occurred. Try again." It's quite annoying during everyday work. What can
Zoho Survey | Get Signature as Image/PDF
Hi All, Is there a way to get the signature as image/pdf, we currently have the Zoho Survey connect to Zapier as webhook, but the signature question field doesn't return an image/pdf value. Is there a workaround for this?
Cannot Send Email to a Gmail Account
Hello, I have a zoho-hosted email account, alex@chirochannelnetwork.com that has trouble sending to gmail accounts. But not all gmail accounts, only some of them. I've tried to figure this out with clients, and they don't appear to be going into their
Automation steps defined by embedded quiz or survey answers.
I'd like to define a user's automation workflow based on how they interact with an embedded ZOHO quiz or survey in the first email. While I can easily define steps based on users clicking a link in an email I feel like I'm missing something more robust
Automation#28 Notify Agents on Article Expiry
Hello Everyone! This week, we’re bringing you a feature that notifies your team when articles in the Knowledge Base are set to expire to keep your content relevant and helpful for customers. The Zoho Desk's Knowledge Base is an asset for customers to
Formula to calculate working days
How can this formula that calculates working days from ANYDATEFIELD to TODAY() be adjusted to Zoho CRM formula functions? CASE(MOD( ANYDATEFIELD - DATE(1985,6,24),7), 0 , CASE( MOD( TODAY() - ANYDATEFIELD ,7),1,1,2,2,3,3,4,4,5,4,6,4,0), 1 , CASE( MOD( TODAY() - ANYDATEFIELD ,7),1,1,2,2,3,3,4,3,5,3,6,4,0), 2 , CASE( MOD( TODAY() - ANYDATEFIELD ,7),1,1,2,2,3,2,4,2,5,3,6,4,0), 3 , CASE( MOD( TODAY() - ANYDATEFIELD ,7),1,1,2,1,3,1,4,2,5,3,6,4,0), 4 , CASE( MOD( TODAY() - ANYDATEFIELD ,7),1,0,2,0,3,1,4,2,5,3,6,4,0),
Zoho Analytics - CRM Sync Failure
We have experienced consistent sync failures between our Zoho CRM and Analytics apps, but there aren't any details provided as to why this failure might be occuring. Please advise on troubleshooting steps so we can figure out how to restore the sync.
Zoho Desk : Field for 'Layout'
I have many different layouts on my helpdesks and I want to be able to identify the stats for each one, however I can not find the field in the raw data from the Zoho Desk datasource. I thought it might be in the "Tickets" table but there is nothing.
Possible for "Specify URL Criteria" in URL/Permalink settings to be assigned to a variable?
I want to embed a Zoho Analytics chart view as a Related List item in the Zoho CRM Accounts module, such that when one is viewing a CRM Accounts module record for an Account, the user will see the chart for that specific company. Is it possible to set
proceed with ssl certificate to use my domain
hi there i have completed the steps of creating and editing CNAME i want to use my domain.
Report inaccuracies
I just generated an Expense by Category report in Zoho Books, expecting to get the expenses as reported in the Profit & Loss statement. No so! Specific expense categories that I had added in the chart of accounts were not included in the report, and some Cost of Goods Sold categories that should not have appeared were included. The Profit & Loss statement appears to be correctly reflecting all expenses, and the Expense by Category report is not. it is all over the place! From what I can tell, the
Default value from global set not working if leads comes Whatsapp
I have field called 'Marketer' and I have set default value from global set like this if it is created manually by pressing 'Create Lead' button it works without problem, but the leads created automatically from Whatsapp (Business Messaging) the 'Marketer'
Function deleted after releasing connection in Kiosk
Hi Everyone I create a Function (Automation) and link it in a Kiosk Workflow. Later, I decide not to use this function from Kios anymore, so I delete the entry in the Kiosk Workflow and publish the new Version. Problem 1: The Function remains linked until
Assistance with Survey Consent and Anonymization
Hello, I am conducting a survey that requires both the minor’s consent and their parent’s consent prior to participation. As part of the consent process, I am required to collect the names of both the participant and their parent. I want to ensure that
Execution failure when fetching a Name field from another app
In creator I have one app [Employee Directory] with a form [Employees]. One of the fields is a name field called [Name]. Here is a sample that works, if executed from the Employees app: test_Employee = Employees[Name.first_name == "Alex"]; info test_Employee.Name;
Countries and Towns - Lookup Multi Select
Hi, Sorry I'm new with Zoho Creator and Deluge. ---------------------------- Form A = Countries Form B = Countries and Towns (with relation) in a Form C, i have a lookup field "Country" and after user input, i would like to auto populate the lookup multi
Deluge Script In CRM To Deal With More Than 200 Records
Hi, I have a Deluge script, which works perfectly. We have a custom field in the Campaigns module called Total_Raised which looks at the Donation_Amount field in the custom module, Donations. The idea is to sum up the total of all donation amounts. However,
Software Integration
Good day, I trust this message finds you well. I would like to find out how I can integrate Zoho Expense, Zoho inventory, email and collaboration, Human Resources and marketing onto our current plan with Zoho Books.
Zoho Survey - Respondent User Portal - RealTime & Response Access
Hello everyone, I have two questions which I would appreciate your guidence on. 1. I have written to Zoho and they tell me no REAL TIME API access is available against completed surveys. From what I gather the only way to get these in real time is to
Zoho Sheet View
Hello, Is there a way to either customize the columns that appear in Zoho Sheet View, or else show all columns?
Email alias to create task in a specific task list
How do you create a task by emailing the email alias to a specific task list? I just tested this, and it just created the task in a 'General' task list - 'General' did not exist before so it has created this. A project might have multiple task lists and
Next Page