AbdFatah / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

iPhone 4 Safari crashes with multiple calls to GA #247

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On our site, we are experiencing crashes with Safari on the iPhone 4 (iPhone 
4s, iPhone 5, iPad 2 all seem to work so far) when large pages have calls to GA.

When removing the call to GA (using either the standard or asynchronous 
methods), Safari crashes -- though not on the first page load.  It appears that 
the user has to navigate a few pages into the site before the crash occurs.  
Removing the GA code from the site eliminates the crash.

Thinking this was a problem with "just too much javascript", we attempted to 
remove entire JS libraries from the site but still experienced the crash. So 
far, only the removal of the GA code eliminates the Safari crashes.

If there's anything we can provide you to help debug this issue, please let us 
know.

At this point, we've simply put code in to not include the GA code if the 
browser is an iPhone (not the best solution, we know, but we cannot have the 
site crashing like this).

Thank you!

Original issue reported on code.google.com by nkahootz...@gmail.com on 11 Dec 2012 at 9:12