Top SEM and SEO Tips   

Site Hangs Waiting for External Javascript

August 21, 2008 – 2:46 pm

This applies to you if you use Google Analytics, or any other third part javascript and your site stops responding whenever the third party site goes down.

One of the main ways this affects users is the page does not display in their browser, and in the lower left of the browser window they see ‘Transfering data from pagead2.googlesyndication.com’

The problem is caused by the script tag being in the <head> section of your site. If you move it to just before the </body> the browser will render your entire page before waiting for the third party site to respond. This will also improve the overall responsiveness of your site.

Related posts:

  1. Making Your Site Mobile Friendly Setting up CSS for mobile phones is easy enough but...
  2. Site Performance The speed your site responds to queries is used as...
  3. The Invisible Web – Is My Site Getting Indexed? Did you know that the great majority of web pages...
  4. Google's Site Targeting: "Giving Control Back to the Advertis If you use Google’s Adwords program you know thatin the...
  5. Site Stability Issues We are now back up after being down for nearly...

Post a Comment