Closed (duplicate)
Project:
Google Analytics
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2007 at 07:17 UTC
Updated:
14 Jan 2009 at 21:21 UTC
JS error on the page occurs if the google-analytics.com/urchin.js isn't loaded. It can happen if, for example, google-analytics is blocked by AdBlock (I have the following situation). After that, a JS error is indicated and other JS code doesn't work. May be, you should use "try{urchinTracker();}catch(e){}" instead of "urchinTracker();"?
Comments
Comment #1
hass commentedI tend to say "by design"
Comment #2
hass commentedDoes someone knows if this create an issue with GA tracking code verification?
try{urchinTracker();}catch(e){};try{pageTracker._trackPageview();}catch(e){};Comment #3
hass commentedComment #4
hass commentedComment #5
hass commentedUpdated to new tracking code. Therefore feature have been implemented now and this case is a duplicate of #357944: Support for try / catch block (per google's recommendations).