Opened 8 years ago
Closed 7 years ago
#2074 closed defect (bug) (fixed)
Google Analytics in Core Trac uses non-async script, may get blocked in mobile Chrome
Reported by: | westonruter | Owned by: | obenland |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Trac | Keywords: | has-patch commit |
Cc: |
Description
An old Google Analytics snippet is being used which employs a blocking script. Not only does this slow down page load time, but Chrome will also start blocking these from being loaded on slow connections.
This will eventually be invalidated by #1017.
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
meta-2074.patch replaces the old tracking script with the current asynchronous code from https://developers.google.com/analytics/devguides/collection/analyticsjs/.