Hello,
There is an option in our theme settings to add Custom JS code from Theme Settings >> Custom JS.
Screenshot for Clarification: https://ibb.co/ygLNkcr
If you want to add it in the header of the theme.
Then You can insert the code inside the header.php file of your child theme. Please don’t insert it directly in the header.php file of the parent theme.
OR
You can try using any third party plugin that better meets your requirements.
Best Regards.