https://blog.wongcw.com/2018/10/02/how-to-add-google-analytics-to-wordpress-without-a-plugin/
How to Add Google Analytics to WordPress Without a Plugin