Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Inject code to the Header

Add custom code to WordPress header

function custom_code() {
    return '<!-- some code -->';
}
add_action( 'wp_head', 'custom_code' );