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.
Per https://developers.google.com/analytics/devguides/collection/analyticsjs/ the snippet no longer uses HTTP.
Comment | File | Size | Author |
---|---|---|---|
#22 | Issue-2727007-by-hass-Update-javascript-tracking-sni-D7.patch | 7.33 KB | hass |
| |||
#21 | Issue-2727007-by-hass-Update-javascript-tracking-sni-D8.patch | 7.83 KB | hass |
| |||
#20 | Issue-2727007-by-hass-Update-javascript-tracking-sni.patch | 9.86 KB | hass |
|
Comments
Comment #2
hass CreditAttribution: hass commentedReally a small change...
Comment #7
hass CreditAttribution: hass commentedThat was not correct one. We now required HTTPS compiled into PHP for the local cache feature - what may be a problem for some people...
Comment #14
hass CreditAttribution: hass commentedNo idea how this 4 slashes went in.
Comment #15
hass CreditAttribution: hass commentedComment #16
hass CreditAttribution: hass commentedComment #17
hass CreditAttribution: hass commentedComment #18
hass CreditAttribution: hass commentedPatch is the plan, but because of a core bug it does not work with local caching enabled.
Comment #19
hass CreditAttribution: hass commentedRe-role
Comment #20
hass CreditAttribution: hass commentedAlternative patch without Drupal libraries.
This solves several core inabilities / issues I do not know how to solve otherwise.
@wim: I know you may hate me for this, but you do not give me any other chance and the tools to make it different.
Comment #21
hass CreditAttribution: hass commentedComment #22
hass CreditAttribution: hass commentedComment #25
hass CreditAttribution: hass commentedPatch #20 is no longer up to date. Just keep it for reference.
I cannot remember where I found this code, but it seems to be wrong for future. Next API will be gtag.js currently in beta. The current branch will be cloned to a new branch with the new API.