Is there any way, through the html/css (email) code, to only put one link that identifies the device (i.e. desktop, Android, iOS) and depending on platform the user is on direct him to web-site or to the mobile app (Android, iOS).
diagram
Is there any way, through the html/css (email) code, to only put one link that identifies the device (i.e. desktop, Android, iOS) and depending on platform the user is on direct him to web-site or to the mobile app (Android, iOS).
diagram
You can find out the OS details using Javascript
oscpuInfo = window.navigator.oscpu
will store this info into a string
function osInfo() {
alert(window.navigator.oscpu);
}
// example result is: "Windows NT 6.0"
see How to redirect to another webpage? for a nice answer on redirection by simulating an HTTP redirect