CommentFileSizeAuthor
#22 Issue-2727007-by-hass-Update-javascript-tracking-sni-D7.patch7.33 KBhass
#21 Issue-2727007-by-hass-Update-javascript-tracking-sni-D8.patch7.83 KBhass
#20 Issue-2727007-by-hass-Update-javascript-tracking-sni.patch9.86 KBhass
#19 Issue-2727007-by-hass-Update-javascript-tracking-sni.patch10.54 KBhass
#18 Issue-2727007-by-hass-Update-javascript-tracking-sni.patch10.52 KBhass
#16 Issue-2727007-by-hass-Update-javascript-tracking-sni.patch7.78 KBhass
#15 Issue-2727007-by-hass-Update-javascript-tracking-sni.patch4.07 KBhass
#14 Issue-2727007-by-hass-Update-javascript-tracking-sni.patch1.24 KBhass
#7 Issue-2727007-by-hass-Update-javascript-tracking-sni.patch1.25 KBhass
#2 Issue-2727007-by-hass-Update-javascript-tracking-sni.patch868 byteshass
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hass created an issue. See original summary.

Status: Needs review » Needs work

The last submitted patch, 2: Issue-2727007-by-hass-Update-javascript-tracking-sni.patch, failed testing.

The last submitted patch, 2: Issue-2727007-by-hass-Update-javascript-tracking-sni.patch, failed testing.

The last submitted patch, 2: Issue-2727007-by-hass-Update-javascript-tracking-sni.patch, failed testing.

The last submitted patch, 2: Issue-2727007-by-hass-Update-javascript-tracking-sni.patch, failed testing.

The last submitted patch, 2: Issue-2727007-by-hass-Update-javascript-tracking-sni.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 7: Issue-2727007-by-hass-Update-javascript-tracking-sni.patch, failed testing.

The last submitted patch, 7: Issue-2727007-by-hass-Update-javascript-tracking-sni.patch, failed testing.

The last submitted patch, 7: Issue-2727007-by-hass-Update-javascript-tracking-sni.patch, failed testing.

The last submitted patch, 7: Issue-2727007-by-hass-Update-javascript-tracking-sni.patch, failed testing.

The last submitted patch, 7: Issue-2727007-by-hass-Update-javascript-tracking-sni.patch, failed testing.

hass’s picture

hass’s picture

hass’s picture

Alternative patch without Drupal libraries.

This solves several core inabilities / issues I do not know how to solve otherwise.

  • We cannot order JS in html_head. This make sure the order is correct.
  • GA.js is external and has no version. We never know when this is updated.
  • Cache clear creates a new hash and reloads the files than.
  • Not affected by bug #2735717

@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.

hass’s picture

hass’s picture

  • hass committed e3c18d0 on 8.x-2.x
    Issue #2727007 by hass: Update javascript tracking snippet
    

  • hass committed ad1ab35 on 7.x-2.x
    Issue #2727007 by hass: Update javascript tracking snippet
    
hass’s picture

Status: Needs review » Fixed

Patch #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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.