Today there were no new page views tracked on google analytics, even
after switching to a android 2.2 test device. I was wondering maybe if
my app was somehow blacklisted by the google analytics site. I googled
for a blacklist or blacklist info and came up with nothing. Does
anyone know how blacklisting works, how to find out if your app is
blacklisted, what the reason for that blacklisting is, etc? My app
shows up as being fine on the Android Market developers home page, and
the google analytics site has a green check mark next to the site name
that I think means that it's OK to receive information.



On Jan 22, 1:46 pm, David Liebman <david.c.lieb...@gmail.com> wrote:
> On Jan 21, 4:21 pm, Alexander Lucas <alexlu...@google.com> wrote:
>
> > Some gotchas:
>
> > 1-  Data isn't guaranteed to show up in Analytics until 24 hours after the
> > data is submitted to analytics.  It usually shows up earlier, but you should
> > give it 24 hours (Notice I didn't say a day-  Testing at 11:59 PM and
> > checking for data at 12:01 AM won't get you anywhere :P ).
>
> I understand this part.
>
> > 2-  There are both automatic and manual dispatch modes-  Just because
> > trackPageView is called on your device doesn't mean anything is sent to the
> > Analytics servers, until a dispatch occurrs.  Combined with gotcha #1, this
> > can make the delay between an event occuring and viewing the data pretty
> > volatile unless you're firing dispatches at a reasonable rate.  The timed
> > dispatch mode takes SECONDS as a parameter, not milliseconds (I'm just
> > firing off mistakes I made when learning the library, feel free to roll your
> > eyes here)-
>
> I'm manually dispatching the tracker... iow I call dispatch in my
> code.
>
> > 3-  Make sure you have the necessary permissions in your AndroidManifest-
> > android.permission.INTERNET and android.permission.ACCESS_NETWORK_STATE
>
> I've done this as well.
>
> > 4-  What changed between the app version that was sending data and not
> > sending data?  Just a different emulator being tested on?  Was there a
> > different version of the software?
>
> I'm presently trying an older 2.2 emulator hoping it will work. I'll
> post back in a day give or take.
>
> > Is Logcat producing any crashes?
>
> I haven't used Logcat in the past I used the debugger, but I've
> noticed no crashes. I will look more closely at both. I did include
> the 'DEBUG' line (that showed up in the debugger window) in a previous
> post that was generated by the tracker.
>
> > -Alex
> > On Fri, Jan 21, 2011 at 11:53 AM, David Liebman
> > <david.c.lieb...@gmail.com>wrote:
>
> > > HI,
>
> > > so I started up the emulator and the debugger. I viewed the page
> > > that's supposed to produce a hit on Google Analytics. Here's the info
> > > from the debugger.
>
> > > 01-21 14:34:51.257: DEBUG/NetworkRequestUtil/
> > > ConstructPageviewRequestPath(354): /__utm.gif?
> > > utmwv=4.5ma&utmn=1958648861&utmcs=UTF-8&utmsr=320x480&utmul=en-US&utmp=
> > > %2FSplashScreen&utmac=UA-19479622-2&utmcc=__utma
> > > %3D999.490166702.1294513166.1295538176.1295638491.177
>
> > > '/SplashScreen' is the page name (if you can call it a page). Can
> > > anybody see what's going on here? The code that produces this is
> > > pretty much as follows:
>
> > > GoogleAnalyticsTracker tracker;
>
> > > tracker = GoogleAnalyticsTracker.getInstance();
> > > tracker.start(UA_NUMBER, this);
> > > tracker.trackPageView("/SplashScreen");
> > > tracker.dispatch();
>
> > > There's actually a little more code than that, of course, but I wanted
> > > to just get across the idea that the instance of the Google Analytics
> > > Tracker uses the 'trackPageView' method. For a little more background
> > > I'll include the declaration for UA_NUMBER:
>
> > > public static final String UA_NUMBER = new String("UA-19479622-2");
>
> > > I do believe UA_NUMBER to be the correct string, and like I said, I
> > > got hits from this arrangement when I first updated the code to my app
> > > on the market. I cannot figure why it doesn't work any more.
>
> > > On Jan 21, 2:03 pm, Brill Pappin <br...@pappin.ca> wrote:
> > > > laugh ;)
>
> > > > Whats the licence?
> > > > If its apache like most things, how about setting up a google project 
> > > > for
> > > > it?
>
> > > > I would really like to be able to step through their code!
> > > > and no doubt if others can see it, we can improve it faster than they 
> > > > can
> > > :)
>
> > > > - Brill Pappin
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to android-developers@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en

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

Reply via email to