Do not add disabled js where they were not used

Created on 18 June 2024, about 1 year ago

Problem/Motivation

I added the google analytics js file as disabled js in the eu cookie. I set google analytics so that it does not measure on the admin pages. Therefore, by default, analytics would not include the js file in the admin pages. However, if I accept the eu cookie banner, it will also be placed in the admin pages.

Is it somehow possible to insert the disabled js only where they were used anyway?
Thanks

🐛 Bug report
Status

Active

Version

1.24

Component

Code

Created by

🇭🇺Hungary brtamas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @brtamas
  • Status changed to Postponed: needs info 12 days ago
  • 🇳🇿New Zealand atowl

    Hi @brtamas,

    With the recent releases, could i get you to check this again to see if it's still the case?

    Thanks!

Production build 0.71.5 2024