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 Google's Experiment docs (https://support.google.com/analytics/answer/1745216) the experiment script should be rendered directly after the opening head tag.
Comment | File | Size | Author |
---|---|---|---|
#1 | script-location-wrong-2381415-1.patch | 472 bytes | bmarshall |
Comments
Comment #1
bmarshall CreditAttribution: bmarshall commentedThis patch sets the script element's weight to -99999999999 so it get's rendered directly after the head tag.
Comment #2
deggertsen CreditAttribution: deggertsen as a volunteer commentedThanks for this.
Comment #4
nonsieThis has been commited
Comment #6
lamp5I am using this module but w3 validator say that i have got error "A charset attribute on a meta element found after the first 1024 bytes".
Now i have got enable rdf module to provide support for schema.org and i think that this context should add this script after "
<meta charset="utf-8">
" tag.Comment #7
lamp5