The Google Analytics by Yoast plugin for WordPress allows you to track your blog easily and always stays up to date with the newest features in Google Analytics.
https://wordpress.org/plugins/google-analytics-for-wordpress/
You can avoid using plugins by placing your code in header.php. Just copy this file to a child theme - we have samples here: https://vamtam.com/child-themes/