Mobile app version of vmapp.org
Login or Join
Eichhorn148

: Google Analytics does not separate out major and minor versions of browsers or OS as dimensions. This means that You cannot produce your desired report from within Google Analytics. If I

@Eichhorn148

Google Analytics does not separate out major and minor versions of browsers or OS as dimensions. This means that You cannot produce your desired report from within Google Analytics.

If I click into the iOS operating system report, I can get it graphed like this:



As you point out, that pie chart has multiple slices for iOS 8. The only recourse is to create the graph that you want externally. Luckily, you can download the CSV data. When I do so, I can run it through a Perl script like this:

#!/usr/bin/perl

use strict;

my $total = 0;
my $major = {};

while (my $line = <>){
if ($line =~ /^([^,]+),((?:"[^"]+")|[^,]+)/){
my ($version, $sessions) = (, );
$version =~ s/..*//g;
$sessions =~ s/[,"]//g;
print "$version $sessionsn";
$major->{$version}=0 if (!$major->{$version});
$major->{$version} += $sessions;
$total += $sessions;
}
}

for my $version (sort {$major->{$b} <=> $major->{$a}} keys %$major){
my $sessions = $major->{$version};
my $percent = sprintf("%.2f",$sessions/$total*100);
print "$versiont$percentn";
}


Which gives the following output:

7 56.77
8 33.99
6 6.25
5 1.86
4 0.69
(not set) 0.29
3 0.15
2 0.00
10 0.00


Which I can then graph:

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Eichhorn148

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme