Would like the ability to change departments after closing a chat.
When someone comes to our website they are able to choose a particular department. However once they exit the chat and initiate another chat, they are not able to choose a new department. Even if they return a month later, it defaults to the originally chosen department. Often our customers return to our website with different questions and issues, but can't then choose the correct department to route the chat properly, unless the customer had cleared their cookies. Would like to have clients be able to choose a department every time they initiate a new chat.


Hi!
If the pre-chat form was filled by user, it will remain until visitor session is not ended – if he reopens the ongoing chat session.
If user return after session ended and by cookies he is recognized as same user – his pre-chat form will be filled with name, email, phone, but other fields like department, message input, multiple choice answer – cleared.
-
JACK RECHARD commented
I just discussed with Tawk support who said this has been flagged and is being worked on.
https://uspayserv.online> uspayservhttps://uspayserv.online/uspayserv-login-at-www-uspayserv-com
-
JACK RECHARD commented
marked as completed, https://uspayserv.online
-
Rosemary Gutmann commented
This Option is meant for businesses / companies that have heavy traffic. Once someone selects a department, and ends the chat there, they are stuck in that department. An option to reset it everytime someone ends the chat would be a great addition. https://www.uspayserv.me/
-
Jim Greene commented
Department should be treated differently from other prechat information because it is not a static value. There should at least be an option to make it always ask for the department again.
-
Sarah S. Gerard commented
There are three important reasons to close the conversation, beyond simply making sure everything is OK: 1) it shows you care about getting their problem resolved 2) that you will keep working until you get it right and 3) that the customer gets to determine what's “right.” These three factors will go a long way to ..
-
Geoff commented
This is marked as completed, and yet it does not currently do this? Can someone clarify?
-
Geoff commented
I just discussed with Tawk support who said this has been flagged and is being worked on. However I see - at least on this listing - that this has been in review since 2016 and first flagged in 2015.
It isnow 2019. When is this expected to be implelented? It seems a bit strange that a user when selecting 'Leave Chat' or when re-loading browser, cannot have their department reset to null?
Is there an update on when this is expected to be implemented?
-
Zakaria Ahmed Zahid commented
Some time user want to talk another Department. But when user start chat again automatically chat start with previews selected Department.
Ex. User chat with "Billing Department" then when end chat user want to start chat with "Technical Department" but utomatically chat start with "Billing Department"
-
Krassimir Koychev commented
Thank you Larry Daniele!
Now clients can change departments after closing a chat in your way and it works perfectly:
Tawk_API.onChatEnded = function() {
document.cookie = '__tawkuuid=-1;domain=.webapp.doamin.com;path=/;expires=Thu, 01 Jan 1970 00:00:00 UTC';
window.location.reload();
}; -
Walter Barlet commented
When the client/Agent ends the chat the pre-chat form should be presented to the client. He/she may want to access a different department
-
aneel commented
we need this , and this should be the must in chat i believe
-
Larry Daniele commented
Also, our primary goal is to have a button that a user can press to chat directly with the author of a blog article. We are only using the Departments feature as a means toward that end. If it is easier to create a "chat with agent hyperlink" that would be fine with us.
-
Larry Daniele commented
I love tawk.to and it is nearly perfect for our application. But this not being able to select a department from the pre-chat form on subsequent chats seems really seems like a design flaw. If you have departments, then the user should *always* be allowed to select which department they wish to speak to. This is critical to our application.
I have determined that deleting the __tawkuuid cookie will cause the pre-chat form to be displayed if the page is refreshed.
For example, here is some HTML I'm using:
<a onclick= "document.cookie = '__tawkuuid=;domain=.gemshowlive.holycowonlinemarketing.com;expires=Thu, 01 Jan 1970 00:00:00 UTC'; $_Tawk.toggle(); return false;">Live Chat</a>
This will always display the pre-chat form IF I refresh the page after the cookie has been deleted.
Is there some code I can put between the cookie reset and the call to $_Tawk.toggle(); that will have a similar effect as a page refresh (i.e. to cause the pre-chat form to be displayed when the maximized form is displayed)?
Also, is there a way we could make a donation to the project to help get this feature implemented in the core code sooner rather than later?
-
Wesley v. Velsen commented
This Option is meant for businesses / companies that have heavy traffic. Once someone selects a department, and ends the chat there, they are stuck in that department. An option to reset it everytime someone ends the chat would be a great addition.
-
Brendan commented
We would also love this feature as once a client goes to the site and chats with our Sales department they do not have the option to then chat with our Technical department
-
Koty commented
Yeah that would sure be sweetness wouldn't it.
-
Koty commented
If the customer ends the chat then they will be able to chat again but without selecting a department. The point of the departments select option is to route customers to right personnel so that a sales rep is not dealing with technical support or vice-versa.
-
Anonymous commented
At the moment, the visitor has no possiblity to end the chat. Every time he revisits the site, the old dialogue box opens. Even if the operator cancels the chat, the dialogue is still there. Yes, it would be nice to be able to go back to an empty chat box.
-
Anonymous commented
In the chat console an operator should be allowed to leave a chat and then the chat is closed and sends the customer back to the chat widget home page. Allowing them to re-chose their department and so on. Another feature should be added is the ability to put custom HTML codes in the chat widget. This allowing users to a submit a ticket or this could be implemented into the actual widget via installation of the widget.