Skip to main content
Answered

Can I hide the Messenger on mobile browsers?

  • June 25, 2020
  • 1 reply
  • 462 views

Forum|alt.badge.img

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?

Best answer by Eric Fitz

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.

View original
Did this topic help you find an answer to your question?

1 reply

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • Answer
  • June 25, 2020

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings