How could I present different content based on device type?
On Jun 1, 2017 J Keith Maxwell wrote:
I'm wondering how I might be able to test for a Device type and then present different content based on whether the user was on a desktop or smartphone.
For example, I'd like to have a Button (Click to Call) on top of my page. When someone finds me on a cell phone, I'd like for the button to call the "tel:1234567890" and pop up the call button on the cell phone. If they are on a desktop, I'd like for it maybe to call me on Skype, or run a script that comes from Ringcentral or Twilio so it would call me, and then call them and connect us.(I haven't gotten the exact language and scripting for Twilio yet but I've used a Button from RingCentral before.