Skip to main content

How can I set it up so that the Messenger doesn’t appear when my visitors/users are on my site on a mobile browser?

While we don’t automatically distinguish between mobile and web browsers for the purposes of showing/hiding the Messenger, there’s a workaround available to you here!

 

Firstly, you’ll need to start passing a custom attribute for your visitors and users to define when they’re on a web browser and when they’re on a mobile browser - think something like is_mobile_browser with a value of true or false (here’s a guide on how to pass custom attributes for your customers).

 

Once you’ve set this up, you can configure your Messenger visibility settings so that it only shows for users and visitors who have a value of false for your custom is_mobile_browser attribute.


Reply