Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Discussions > Troubleshooting > GAForFlash bad error handling for allowScriptAccess = never
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
ejm  
View profile   Translate to Translated (View Original)
 More options 25 Nov 2008, 20:01
From: ejm
Date: Tue, 25 Nov 2008 12:01:32 -0800 (PST)
Local: Tues 25 Nov 2008 20:01
Subject: GAForFlash bad error handling for allowScriptAccess = never
i get a runtime error when initializing GATracker when embedded on a
page that has allowScriptAccess=never

_tracker = new GATracker( displayReference, account, "AS3", false );

full error text below, but basically this code tries to detect the
domain of the page which will not work with script access off.

since this causes a runtime error in the constructor, all subsequent
tracking code will be broken.

your documentation states that this should not break tracking all
together, just certain features:
"In either mode, allowscriptaccess must equal always in order for
campaign tracking to work. This parameter turns on read access to the
page's URL and referrer information required by the Flash tracking
code. Without allowscriptaccess, the Analytics tracking code degrades
gracefully. It still provides most user activity data, but will not
confirm to the Google Analytics campaign attribution model."

is this a bug on your side or are we doing something wrong?  here is
the full error:

SecurityError: Error #2060: Security sandbox violation:
ExternalInterface caller
http://www.bitrub.com/[[IMPORT]]/flash.dev.iminlikewithyou.com/externalArcade.swf?initialUrl=arca de/gamelobby/tracism&origin=newgrounds&cache=2046064
cannot access http://www.bitrub.com/gatest/arcadeLoader_newgrounds_tracism_650.html.
        at flash.external::ExternalInterface$/_initJS()
        at flash.external::ExternalInterface$/call()
        at com.google.analytics.external::JavascriptProxy/getProperty()[/
buRRRn/projects/GAforFlash/GA_FLASH/build/tmp/com/google/analytics/
external/JavascriptProxy.as:258]
        at com.google.analytics.external::HTMLDOM/get protocol()[/buRRRn/
projects/GAforFlash/GA_FLASH/build/tmp/com/google/analytics/external/
HTMLDOM.as:269]
        at com.google.analytics.utils::Environment/_findProtocol()[/buRRRn/
projects/GAforFlash/GA_FLASH/build/tmp/com/google/analytics/utils/
Environment.as:135]
        at com.google.analytics.utils::Environment/get protocol()[/buRRRn/
projects/GAforFlash/GA_FLASH/build/tmp/com/google/analytics/utils/
Environment.as:435]
        at com.google.analytics.utils::Environment/get domainName()[/buRRRn/
projects/GAforFlash/GA_FLASH/build/tmp/com/google/analytics/utils/
Environment.as:237]
        at com.google.analytics.v4::Tracker/_updateDomainName()[/buRRRn/
projects/GAforFlash/GA_FLASH/build/tmp/com/google/analytics/v4/
Tracker.as:457]
        at com.google.analytics.v4::Tracker/_initData()[/buRRRn/projects/
GAforFlash/GA_FLASH/build/tmp/com/google/analytics/v4/Tracker.as:118]
        at com.google.analytics.v4::Tracker()[/buRRRn/projects/GAforFlash/
GA_FLASH/build/tmp/com/google/analytics/v4/Tracker.as:109]
        at com.google.analytics::GATracker/_trackerFactory()[/buRRRn/projects/
GAforFlash/GA_FLASH/build/tmp/com/google/analytics/GATracker.as:215]
        at com.google.analytics::GATracker/_factory()[/buRRRn/projects/
GAforFlash/GA_FLASH/build/tmp/com/google/analytics/GATracker.as:156]
        at com.google.analytics::GATracker()[/buRRRn/projects/GAforFlash/
GA_FLASH/build/tmp/com/google/analytics/GATracker.as:124]
        at iilwy.application::AnalyticsManager()[/Users/emablekos/Clients/
iilwy/repository_rev2/libraries/flash/FlashLibV2/src/iilwy/application/
AnalyticsManager.as:33]
        at iilwy.versions.externalarcade::ExternalArcade/createApplication()[/
Users/emablekos/Clients/iilwy/repository_rev2/libraries/flash/
FlashLibV2/src/iilwy/versions/externalarcade/ExternalArcade.as:103]
        at iilwy.application::AbstractApplication/onAddedToStage()[/Users/
emablekos/Clients/iilwy/repository_rev2/libraries/flash/FlashLibV2/src/
iilwy/application/AbstractApplication.as:27]
        at flash.display::DisplayObjectContainer/addChild()
        at externalArcade/onAddedToStage()[/Users/emablekos/Clients/iilwy/
repository_rev2/projects/FlashSite/projsrc/externalArcade.as:22]


    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ShoreTel  
View profile   Translate to Translated (View Original)
 More options 26 Nov 2008, 00:18
From: ShoreTel
Date: Tue, 25 Nov 2008 16:18:49 -0800 (PST)
Local: Wed 26 Nov 2008 00:18
Subject: Re: GAForFlash bad error handling for allowScriptAccess = never
That is definitely a by-product of allowScriptAccess = never. Its
possible the "degrades gracefully" only applies to allowScriptAccess =
sameDomain, but that seems like a fairly big oversight.

The only other thing it could possibly be is if one of the domains
hosting or loading the SWF has a policy file in place, but I'd lean
more towards a bug.

On Nov 25, 12:01 pm, ejm wrote:


    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google