Don’t want to allow the option to add JavaScript in WordPress to all authorized users regardless? In this case, you can also turn to manual script integration via the header. The code must be inserted manually in functions.php following this procedure, so that the authorization can be defined on a case-by-case basis.
If you want to embed a script for the whole website in the header (e.g. tracker code), add the following entry to the theme’s configuration file: