Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

How to get iPhone APP screen WIDTH

Avatar

Level 1

I am trying to see how many older iPhones use our iOS Mobile APP at 320 WIDTH.  Not website.

How do I look and get this data?

 

Due to pixel density AKA retina screens ... 

iPhone SE gen1 - has a logical resolution of 320x568 but an actual resolution of 640x1136

iPhone 4s has a logical resolution of 320x480 but an actual resolution of 640x960

( reference https://iosref.com/res )

 

I cannot get a breakdown to show how many visitors using the iPhone app are at 320 width.

Can Omniture show this?  Does anyone know how?  Even a list of what version of iPhone device would be fine because I could look that up.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Adobe can only track the screen width (and height) that the manufacturer has made available through its APIs. For the iPhone, Apple has made a conscious decision to set the screen widths (and heights) like what you've indicated.

App developers can get the user's iPhone model programmatically, normally to adjust their app's experience to the device that the user is using. You could ask your developers to use that method to track the iPhone model to an eVar. Then, in Analysis Workspace, you'll be able to breakdown the values of that eVar by the screen width to get the answers that you want.

View solution in original post

3 Replies

Avatar

Community Advisor

iphones are among the hardest devices to detect... however, I found an older article on how to process User Agent strings in GTM... you should be able to try a similar method in Adobe to try and get some deeper knowledge into your devices

 

https://analytical42.com/2017/detect-and-track-iphone-models-in-google-analytics/

 

I'm not sure if this still holds true over the last few years... but it might be a place to start... Unfortunately, unless you are already tracking the user agent string (and can use that to create some classifications on), or are using Raw Data feeds and can process this outside of Adobe, this will only start working for you going forward.

 

Good Luck!

Avatar

Correct answer by
Community Advisor

Adobe can only track the screen width (and height) that the manufacturer has made available through its APIs. For the iPhone, Apple has made a conscious decision to set the screen widths (and heights) like what you've indicated.

App developers can get the user's iPhone model programmatically, normally to adjust their app's experience to the device that the user is using. You could ask your developers to use that method to track the iPhone model to an eVar. Then, in Analysis Workspace, you'll be able to breakdown the values of that eVar by the screen width to get the answers that you want.

Avatar

Level 1

How I solved it was to NOT look for the width and height.  That was a wild goose chase.  But instead to look for the iPhone device Identifier, and from there, I could gather the info I wanted.

 

This link will tell you what rez per device

https://iosref.com/res 

 

This one will tell you the identifiers since they do not match the marketing name like iPhone 11 etc

https://www.theiphonewiki.com/wiki/Models