I’d advise using a WordPress plugin for adding your Analytics code. This is not only the easiest but also safest option.
You will not be able to find the HTML <head> element in the Customizer. The Customizer only controls the front-end look of the site. You would need to edit the core theme files, but this is not advised unless you are familiar with PHP and WordPress theme template file structures (and how to use child themes).