Answered

Can I hide the Messenger on mobile browsers?

  • 25 June 2020
  • 1 reply
  • 277 views

Userlevel 2
Badge

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?

icon

Best answer by Eric Fitz 25 June 2020, 18:15

View original

1 reply

Userlevel 1

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