Okay
  Print

How to insert/inject any js code in theme (google analytics code)?

In this case, we recommend you to use this plugin: https://wordpress.org/plugins/header-footer/ 

Please read the article about how to use it: https://kinsta.com/knowledgebase/add-code-wordpress-header-footer/ 

+