Question:
I’m wondering where I can input the UA code for Google Analytics within the theme?
Answer:
It would be best and easiest to use the following Google Analytics plugin: https://wordpress.org/plugins/googleanalytics/
After it’s installed, navigate to Settings → Google Analytics in your WordPress admin dashboard and simply paste in the Web Property ID (UA code).
That’s all!