'How to determine the exact iOS version using Google Analytics

While reading a tutorial on Google Analytics for iOS I wanted to know which version of iOS I was running.

I've googled for phrases like "ios version google analytics" but couldn't find anything useful.

Basically I want to know the number of users running my app on any iOS version, e.g. iOS 6, iOS 7 etc.

I've also checked the Google Analytics documentation, but couldn't find a proper method. The device info on Google Analytics dashboard just shows "iPhone" but does not mention the iOS version.

Is there a way to get the exact iOS version via Google Analytics?



Solution 1:[1]

There is a method, go to

Audience > Technology > Browser & OS > The browser version matches the firmware*.

Might not match exactly, but in my experience its more than accurate enough and I am 95% it does match always.

Hope that helps Tushar

Solution 2:[2]

So I was looking for a solution here as well. I came across this article by Phillip Studiniski that shows you how to measure the iPhone screens by screen resolution.

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

I attempted to go this route. The problem I ran into was that I was just getting a raw output of the screen resolution in GTM, it would look something like this.

{"width":375,"height":667,"ratio":2.0000000454608653}

No problem I thought. I moved this into a RegEx table. Click here to see a sample RegEx for this Once I did this, I was able to properly identify the iPhone version with a variable and then send it to Google Analytics through Google Tag Manager variable.

I then had to update the iPhone models a bit since it has been a while since the article was written. (https://iosref.com/res) This includes the models from 11 to 13.

BOOM! iPhone version now being sent to GA. Hope this helps everyone.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 dhj
Solution 2 ironhide1975