Home > Paid Traffic Sources > Mobile

Device Detection Script (3)


01-21-2015 07:08 PM #1 orisin1 (Member)
Device Detection Script

Hey guys
Does anyone has a device detection script you can use on your landing page.i.e:
your "samsung galaxy s5/iphone 5/Nokia Lumia" has been hacked/won etc.


01-21-2015 07:41 PM #2 ploppythejailer (Member)

Voluum..


01-21-2015 08:00 PM #3 rareaff (AMC Alumnus)

You can detect using User-Agent (Http Headers) that the browser sent.
However, there are so many variants and new devices are being released furiously.
For accurate detection it requires sophisticated matching algorithm and/or just a very complete devices database.

Take this example, there are 15 pages of http-headers variations for "Asus FonePad7"
http://www.handsetdetection.com/prop...odel/Asus/K00Z
Test your device here (Bad news: It can't detect my Xiaomi Mi 3 )
http://app.handsetdetection.com/devices/examine

I think this approach is good enough for detecting phone brand (even better, it's FREE)
Test: http://demo.mobiledetect.net
Download: https://github.com/serbanghita/Mobile-Detect

Another project
Test: http://www.hand-interactive.com/samples/
Download: http://blog.mobileesp.com/?page_id=20


Home > Paid Traffic Sources > Mobile