Hello, @administrator,
Well in our theme, we have the option to add the JS code under Alpus >> Theme Options >> Custom CSS & JS and JS code, please refer to this screenshot: https://pasteboard.co/SiAJjdKC2OBS.png
Further, you can use the Child Theme and code in Child Theme as well.
OR you can try with any third party plugin that better suits your requirements.
Best Regards.