One of the features of Kadence Pro is providing fields in the Customizer where you can easily paste scripts that should go in your site’s header, right after opening the body tag and in the footer.
To get started, make sure you have entered your license details at Appearance > Kadence first and then enable Header/Footer Scripts.
Click on Customize link to be taken to the Custom Scripts section in the WordPress Customizer. Scripts added through the customizer are global and will appear on all pages.
The screenshot shows Google Tag Manager codes added via the Kadence’ Header/Footer Scripts addon: