I experienced problems with the code in googleanalytics.js; it was crashing (at least in FF3) on domains with no TLD (http://name).

Here is a patch to fix this.

CommentFileSizeAuthor
googleanalytics.js_.patch1.82 KBpfournier
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hass’s picture

Status: Needs review » Postponed (maintainer needs more info)

Why type of errors do you see? I haven't seen any popping up on "localhost" yet...

hass’s picture

Title: JS crash on local domains » Domain value is null with local domains
Status: Postponed (maintainer needs more info) » Fixed

I decided to remove some cruft and use window.location.host. Fixed and backported.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.