I'd like to know what type of device users are using when they submit a form on my website.
EDIT: I'm curious about more information than just mobile. iPhone, iPad, Android? Windows? Mac?
Is it possible with some javascript?
I'd like to know what type of device users are using when they submit a form on my website.
EDIT: I'm curious about more information than just mobile. iPhone, iPad, Android? Windows? Mac?
Is it possible with some javascript?
Check out the answer here:
What is the best way to detect a mobile device in jQuery?
Use this script to assign the device type to a hidden form field, then you can post it.
you can cheek against the user agent and use some API like useragentstring to get all the data you want