Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
googleanalytics.js_.patch | 1.82 KB | pfournier | |
Comments
Comment #1
hass CreditAttribution: hass commentedWhy type of errors do you see? I haven't seen any popping up on "localhost" yet...
Comment #2
hass CreditAttribution: hass commentedI decided to remove some cruft and use
window.location.host
. Fixed and backported.