analytics.libraries.yml in Analytics 8
File
analytics.libraries.yml
View source
- dnt:
- js:
- # Need to specify a negative weight like drupalSettings.js until
- # https://www.drupal.org/node/1945262 is resolved.
- js/analytics_dnt.js: { weight: -17 }
- dependencies:
- - core/jquery
- - core/drupalSettings