Target a wider audience and provide personalized content based on visitors' location.
If your website has broader demographics and if you wish to show customized widget and functionality based on the visitor's location, you can use the .afterready() API.
With .afterReady() API enabled, you can customize the functionality and content of the SalesIQ widget based on the visitor's location. This can be very effective in providing content when you have a wider audience. Now, let us see all the ways we can use this API to provide personalized content.
Personalize the language of your SalesIQ chat window
Make your brand's support experience much smoother and understandable for your international audience by using the
.salesiq.language() API.
For example, if a visitor from Paris visits your website you can use French as the widget language so the visitors can feel more comfortable and increase the chance of starting the conversation.
Different privacy policies based on the country of the visitors
Provide personalized tracking policy banner content based on the visitors' location using the
Privacy APIs to improve the customer's security and inform them how you are handling the data collected from the customers.
For example, Visitors from the EU region are governed by different customer data protection laws. So if your privacy policy varies a bit in these regions, you can show a different policy message using the Privacy APIs along with the After ready API.
<script>
$zoho.salesiq.ready=function()
{
$zoho.salesiq.visitor.getGeoDetails();
}
</script>
<script>
$zoho.salesiq.afterReady=function(visitorgeoinfo)
{
if(visitorgeoinfo.Country == "UNITED KINGDOM") {
$zoho.salesiq.privacy.trackingbannercontent(
{
'description' : 'Privacy policy text goes here',
'acceptbutton': 'Accept',
'declinebutton': 'Decline',
'policytextandlink': {
'text' : 'LearnMore',
'link' : 'www.zylker.com/privacy'
}
}
);
}
}
</script>
Note: Modify the content and link in the code and paste it below your SalesIQ widget code on your website's source code.
Route visitors to a default operator based on the visitor location:
If you have head operators in charge of various countries and if you wish to route a visitor to the head operator of that country, you can do so by using the
.chat.agent() API.
For example, if a visitor from Japan initiates a chat, you can route the conversation to Japan's head operator by using the following code.
<script>
$zoho.salesiq.ready=function()
{
$zoho.salesiq.visitor.getGeoDetails();
}
</script>
<script>
$zoho.salesiq.afterReady=function(visitorgeoinfo)
{
if(visitorgeoinfo.Country == "JAPAN") {
$zoho.salesiq.chat.agent("sakura@zylker.com");
}
}
</script>
Note: Modify the operator email and country in the code and paste it below your SalesIQ widget code on your website's source code.
For more details, check our help guide
here.
Regards,
Naveen
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Sticky Posts
Qualify Potential Leads Automatically with SalesIQ Chatbots
Your website may have a lot of visitors every day, but are you struggling to identify your potential leads? You may not know who your ideal leads are just by looking at a website visitor, right? To qualify a lead, you need to know their needs, interests,
OpenAI Alert! Plug Sample #11 - Next-generation chatbots, Zobot + ChatGPT Assistant
Hi Everyone! We have great news for all AI enthusiasts and ChatGPT users! The much anticipated Zobot integration with ChatGPT Assistant is now available with Plugs. OpenAI has introduced 'ChatGPT Assistants' to customize GPT models as per your requirement.
Get live insights on business performance with the SalesIQ TV App - Now available for Apple and Android TVs!
Hello everyone! Let's start with a question - What do you think is the key to a thriving business? Yes, I hear you. It's all about the customers. Success in business often starts with understanding customer needs. But wouldn't you agree that achieving
Deprecation of Google Drive and Sheets connections in Scripts (Deluge)
Hello Everyone, We have an important update for those using the Script (Deluge) platform to build chatbots, widgets, and forms. Google has alerted us about sensitive scopes within the Google Drive and Google Sheets default connections in Deluge. As a
Plug Sample #10 - Simplify Ticket Management (Zoho Desk) with Chatbots
Hi everyone! We're here with another simple yet effective plug for your chatbot to integrate with Zoho Desk. When a customer reports an issue/request during chat, it's logged as a ticket on Desk. When they return for updates, you end up searching through
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.