Skip to content

It should be possible to send information with the user agent #6

@GoogleCodeExporter

Description

@GoogleCodeExporter
The google analytics for android sdk sends information about the phone to the 
google analytics service.

AnalyticsConfigData should have a field for the user agent and then that field 
could be generated according to the platform.

Currently on android the user agent is generated as:

String.format("%s/%s (Linux; U; Android %s; %s-%s; %s; Build/%s)", new Object[] 
{ userAgentProduct, userAgentVersion, Build.VERSION.RELEASE, 
(locale.getLanguage() != null) ? locale.getLanguage().toLowerCase() : "en", 
(locale.getCountry() != null) ? locale.getCountry().toLowerCase() : "", 
Build.MODEL, Build.ID });

using the information from the android api.

Original issue reported on code.google.com by ruben01 on 31 May 2011 at 1:47

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions