12 messages in com.googlegroups.google-gadgets-apiRe: Error using Google Analytics in U...| From | Sent On | Attachments |
|---|---|---|
| Appirio | 14 Jun 2007 14:54 | |
| Gordy (Google Employee) | 15 Jun 2007 11:42 | |
| Appirio | 15 Jun 2007 14:06 | |
| Appirio | 17 Jun 2007 10:31 | |
| Gordy (Google Employee) | 18 Jun 2007 10:53 | |
| Gordy (Google Employee) | 18 Jun 2007 17:09 | |
| Wiktor Gworek | 29 Jul 2007 11:45 | |
| emk...@gmail.com | 02 Aug 2007 09:46 | |
| Bonstio | 02 Aug 2007 10:20 | |
| Gordy (Google Employee) | 02 Aug 2007 10:29 | |
| Wiktor Gworek | 02 Aug 2007 15:09 | |
| Bonstio | 02 Aug 2007 17:03 |
| Subject: | Re: Error using Google Analytics in URL Gadget with Firefox![]() |
|---|---|
| From: | Wiktor Gworek (wikt...@gmail.com) |
| Date: | 07/29/2007 11:45:03 AM |
| List: | com.googlegroups.google-gadgets-api |
I think I can reproduce this bug. My widget: http://widgets.mocna-kawa.com/igoogle/dict/plen-dict-dev.xml.
Flow: - add following gadget to your iGoogle, - minimize gadget, - reload the iGoogle page, - after reloading iG with minized gadget in Firebug I can see the error
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMScreen.width]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://79.gmodules.com/ig/f/8JdLW-FnPCU/lib/liburchin.js :: _uBInfo :: line 304" data: no]
When I comment the line with Analytics then everything is alright.
Probably this is a bug. Do anyone is able to tell the workaround of this problem?
Cheers! Wiktor Gworek
On 19 Cze, 02:09, "Gordy (Google Employee)" <api...@google.com> wrote:
Hi again,
I'm not able to reproduce this error with type=url gadgets, placing the analytics code in any part of the HTML. Since you've already fixed your own code, can you provide another simple example that demonstrates the error?
Thank you, Gordy
On Jun 17, 10:31 am, Appirio <c....@appirio.com> wrote:
OK, I resolved this one. I was calling _IG_Analytics too early in the page. As a result, Firefox failed calling screen.height and screen.width (in the urchin code). Solution is to move the call to the body onload handler.
On Jun 15, 2:06 pm, Appirio <c....@appirio.com> wrote:
Thanks. Here's the gadget URL:
One thing I tried which may help: I moved the _IG_Analytics call into the onLoad event handler. The error message is gone, but I'm not positive that GoogleAnalyticsis being contacted (I don't see the request in Firebug). I do see it being called in IE via Fiddler.
Previously the _IG_Analytics call was in a SCRIPT tag in the HEAD element.
On Jun 15, 11:42 am, "Gordy (Google Employee)" <api...@google.com> wrote:
Hi Appirio,
Thank you for reporting this -- can you post a URL to your gadget so that we can have a look? I'll investigate this in the meantime.
Thanks, Gordy
On Jun 14, 2:55 pm, Appirio <c....@appirio.com> wrote:
I'm seeing a similar error to what was reported here:
I have a url type gadget that calls_IG_Analytics. When the gadget loads, I see this error in Firefox (2.0.0.4, via Firebug):
uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMScreen.width]" nsresult:
"0x80004005 (NS_ERROR_FAILURE)" location: "JS frame
::https://ssl.google-analytics.com/urchin_beta.js::_uBInfo::line
293" data: no]
Due to the error, I'm unable to report gadget usage info for Firefox users. Internet Explorer (6.0) seems to work fine (as verified by watching traffic in Fiddler).
I tried moving the call to _IG_Analytics around in the Javascript. Also tried putting theanalyticscall in a separate IFrame. No luck. Has anyone else seen this or made any progress on it?- Hide quoted text -
- Show quoted text -




