News for hackers. Stuff that matters.
Re:Show HN: Detect which iOS devices are used on your site by monochromatic on Saturday November 03, 2018 @02:01PM (#18371555)
I’ve long assumed that websites could tell what kind of device I’m using. Is that not true?
Re:Show HN: Detect which iOS devices are used on your site by bdibs on Saturday November 03, 2018 @02:06PM (#18371581)
On my Google Analytics account, it shows Android mobile devices as their full model names, but iPhones and iPads as just Apple iPhone/iPad.

I'm sure Google could still narrow it down using other factors, like screen size, but they're not sharing that with Analytics users.

Re:Show HN: Detect which iOS devices are used on your site by MonkeyDan on Saturday November 03, 2018 @02:43PM (#18371779)
Android Chrome includes phone model in the user-agent.
Re:Show HN: Detect which iOS devices are used on your site by newman8r on Saturday November 03, 2018 @09:05PM (#18373417)
You can get some details from the User-Agent header https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Us...

You can also get some information from media queries https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queri...

There's other system information you can get from the browser as well

Sometimes you can use this data to see what device/model is being used (although it's trivial to spoof it). In this case, it seems like apple makes it hard to tell exactly which model is being used, so OP is trying to make it easier.