Search by keyword, such as: divert, calls, chats …

Removing Live Chat on mobile devices

Choose where you want your Live Chat to be

We’ve made it super easy to do this, so even if you’re not an expert it will make sense.

We get it – not every business wants live chat to appear on mobile devices. If you’re one of them, keep reading and follow our simple steps:

To remove Live Chat on mobile devices, you need to wrap your Moneypenny code in a JavaScript “if” statement which should be checking if the visitor is on a mobile browser:

(!navigator.userAgent.match(/(iPhone|iPod|iPad|BlackBerry|Android|IEMobile)/)) {

}

This is how the code would look on your website:

(function() {
if (!navigator.userAgent.match(/(iPhone|iPod|iPad|BlackBerry|Android|IEMobile)/)) {
var se = document.createElement('script'); se.type = 'text/javascript'; se.async = true;
se.src = '//storage.googleapis.com/moneypennychat/js/xxxx-xxxxx-xxxxx-xxxxx.js';
var done = false;
se.onload = se.onreadystatechange = function() {
if (!done&&(!this.readyState||this.readyState==='loaded'||this.readyState==='complete')) {
done = true;
// Place your Moneypenny JS API code below */
// Moneypenny.allowChatSound(true); // Example JS API: Enable sounds for Visitors. */
}
};
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(se, s);
}
})();

Please note that the widget id will have to be updated to replace „xxxx-xxxxx-xxxx-xxxxx‟.

For any technical support, feel free to give us a call on 0333 202 1005. Our experts have tons of experience and knowledge and are here to help you with whatever you need.

We give you amazing people and technology:

Telephone
Answering

Your own Moneypenny PA to answer calls exactly as if based in your office.

Discover >
Live Chat

Amazing people, briefed by you to manage chats whenever you can't.

Discover >
Pocket Phone System

All the functions and support of an office phone system, minus the hardware.

Discover >