It is a best practice to enqueue external scripts at the bottom of the page to avoid the display delaying of the page.
Why not having a wp_enqueue_external_script() which would add this systematically in the
wp_footer action ?
It could behave like this :
//if script starts with http/https
//do a <script ... src="$script"></script>
//do a <script ...>$script</script>