Skip to main content

Hi! I have a different layout of the website when browsing with desktop or mobile. I would like to use a button bot in mobile browsing. Am I able to do that? The same button doesn´t exist in the desktop version if that makes any difference 🙂

The situation is that the messenger won´t fit in the mobile layout and I should be able to hide the messenger when browsing with mobile and instead I would like to use button bot.

 

Can anyone help?

Hey @pia​ 👋 you can definitely set this up, but it'll require a little work on your end.

 

Firstly, you'll need to start passing a custom attribute for all of your users to determine if they're on a mobile browser or not. For example, you could create the attribute is_mobile, passing a value of true for those on mobile and false for those on web.

 

Then, when creating your bot on a button, in the Rules section, you can define that the bot should only work for those with a value of true for your new is_mobile attribute (i.e. those customers on mobile).


Reply