So i need help creating a button that opens a different pagelink on website and mobile version. We provide a web based service that has a mobile version and a desktop version. Currently we have a button in header that opens the desktop webpage of our service. This button triggers the web-version for borh desktop and mobile users. However, I would like for the button to open the mobile version of our service, for users that click the button while on mobile. But have the button open the desktop version for users on desktop.
The only difference would be where the user is directed to.. because our service is a webpage.. meaning the webversion has a pagelink like ".com/" and mobile version has a pagelink like ".com/mobile" link.