On Apr 24, 3:36 am, William <[email protected]> wrote: > I knew the cause of the problem. It was my fault. I used legacy > analytics api in sandbox mode.
That's odd. I'm using _IG_Analytics in almost all my gadgets, and they work fine in both the developer and production iGoogle sandboxes. > So I changed my gadget using new analytics api. > BTW, When was the gadgets api documents changed? > The section of using analytics was removed completely. Do you mean this document? http://code.google.com/apis/analytics/docs/tracking/gadgetTracking.html It's in the Analytics API docs; perhaps it was moved when that API was released this week. > The document says "Avoid using Google Analytics if possible, because > it incurs an additional server connection. Instead of Analytics, > usehttp://www.google.com/ig/directory?url=<gadget-url> to see the weekly > pageviews for your gadget." To be honest, that's a terrible idea. The directory stats are known to be wildly inaccurate. I have a gadget with 150k unique pageviews per day on Analytics (which is roughly in line with my server logs), yet its directory page says it has 3,902 users. Plus, as you say, the directory does not show pageviews. Google has been promising an overhaul of the directory for over a year now (IIRC); perhaps the stats will include an accurate pageview count if/when that ever happens. Until then, I'm sticking with Analytics. String --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" 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/Google-Gadgets-API?hl=en -~----------~----~----~----~------~----~------~--~---
