Adding Google Tracking Code aka Google Analytics

The best way to add Google Analytics is with a plugin. The Envato marketplace theme reviewers do not allow us to add a space for tracking code anymore as there are many plugins that can do this. Here is one that we use:

https://wordpress.org/plugins/google-analytics-for-wordpress/

It works very well.