As an add on, here is my code. I have set up TWO GA configurations, so
that I can differ what my beta testers are doing and what my real
users do. I needed that as well to be able to figure out how GA works.
As you can see, I use automatic dispatching.
Custom variables are used as well, but I have yet to find them in the
GA interface. I personally find "misusing" event tracking a great way
to see results like "41% of my users use Galaxy S phones" (HTC is
growing faster, though, the Desire HD seems to be the current phone of
the day).
This information led my to do a lot of performance tuning, as the
Galaxy is so slow on disk/db operations.


private void initTracker() {

                tracker = GoogleAnalyticsTracker.getInstance();
                if (isReleaseVersion) {
                        tracker.start("UA-xxx", 60, this);
                        tracker.trackEvent("Gipfel", "Version", VERSION, 1);
                        tracker.trackEvent("Device", 
android.os.Build.BRAND.toLowerCase(),
                                        android.os.Build.MODEL.toLowerCase(), 
1);
                        tracker.trackEvent("Model", 
android.os.Build.MODEL.toLowerCase(),
                                        android.os.Build.FINGERPRINT, 1);
                        tracker.trackEvent("Android",
android.os.Build.VERSION.RELEASE.toLowerCase(),
                                        android.os.Build.FINGERPRINT, 1);
                        tracker.trackPageView(android.os.Build.BRAND);
                } else
                        tracker.start("UA-xxx", 60, this);
                ShowMap.tracker.trackPageView("/ShowMap");
        }


On 23 Jan., 02:19, Hari Edo <[email protected]> wrote:
> My GoogleAnalytics app is working fine, but it's not on the market yet
> so it's only getting about 150 events / day as I debug features at
> home.
>
> Are you calling .dispatch() occasionally?  Queued up pageviews and
> events
> don't get sent to the server until (1) there's network, and (2) you
> call
> .dispatch() on the tracker object.
>
> On Jan 22, 5:27 pm, Brill Pappin <[email protected]> wrote:
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to