You need to physically add it into theme file.
Please open up footer.php and go to the end of the file.
Find the following code.
<?php wp_footer(); ?>
Make some empty space above it and add in your google analytics code.
If you need help, you can hire us via our service page https://theme4press.com/services/