Problem/Motivation
Doesn't possible to use option "Locally cache tracking code file".
error: Refused to execute script from 'https://****/sites/default/files/googleanalytics/js?rrksba' because its MIME type ('') is not executable, and strict MIME type checking is enabled.
Steps to reproduce
Enable option "Locally cache tracking code file" and check JS errors
Proposed resolution
The cached file should have extension "js"
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | google_analytics-local-file-cache-extension-3348260-3.patch | 560 bytes | cboyden |
Comments
Comment #2
Greg Varga commentedA temporary, quick fix until the official solution comes out.
Comment #3
cboyden commentedI've added the above suggested code as a patch so it can be tested.
Comment #4
anybodyJust ran into the same issue. Any idea why this happened exactly NOW?
Any Drupal core changes or browser updates that may have caused this?
Comment #5
briand44 commentedThe patch in #3 applied cleanly against 7.x-2.8 and resolved this issue for us, thanks!