---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Mobile Tracking
Name of related library and version, if applicable (e.g. Android, iOS,
Snippets, etc.): Google Play Services 6.5.87
// Issue summary:
The tracker is implemented like shown here:
https://developers.google.com/analytics/devguides/collection/android/v4/
My tracker.xml and global config both set:
ga_sampleFrequency"=10.0
Since my last app release I use the tracker in the android.app.Application
class's onCreate. The app uses MultiDex, which slows the app start down by
around 3-5 seconds.
The real time report for active users was increased 10 times after I released
the update, which - although I'd really like to believe - can't be true.
I added tracker.setSampleRate(10.0); to the getTracker() method. Although the
staged rollout isn't at 100%, the values make more sense.
// Steps to reproduce issue:
1. set sample rate to 10% via xml
2. use the tracker in the Application's onCreate
3. probably use MultiDex for the slow down
// Expected output:
There were around 1000 real time users max, before I released the update.
Actual results:
Around 10000 real time users.
Original issue reported on code.google.com by stefanpl...@googlemail.com on 3 Dec 2014 at 6:51
Original issue reported on code.google.com by
stefanpl...@googlemail.com
on 3 Dec 2014 at 6:51