- Issue created by @M@ster
- π¬π§United Kingdom Greg Varga
A temporary, quick fix until the official solution comes out.
all/modules/contrib/google_analytics/googleanalytics.module index f7325a92..b4308522 100644 --- a/sites/all/modules/contrib/google_analytics/googleanalytics.module +++ b/sites/all/modules/contrib/google_analytics/googleanalytics.module @@ -540,8 +540,7 @@ function googleanalytics_search_get_keys() { */ function _googleanalytics_cache($location, $synchronize = FALSE) { $path = 'public://googleanalytics'; - $file_destination = $path . '/' . basename($location); + $file_destination = $path . '/' . basename($location, ".js").".js"; if (!file_exists($file_destination) || $synchronize) { // Download the latest tracking code. $result = drupal_http_request($location);
- Status changed to Needs review
over 1 year ago 9:42pm 24 March 2023 - πΊπΈUnited States cboyden
I've added the above suggested code as a patch so it can be tested.
- π©πͺGermany Anybody Porta Westfalica
Just ran into the same issue. Any idea why this happened exactly NOW?
Any Drupal core changes or browser updates that may have caused this?
- πΊπΈUnited States briand44
The patch in #3 applied cleanly against 7.x-2.8 and resolved this issue for us, thanks!