I’ve used WordPress for years. Everytime I’ve gone looking for a plugin to include the tracking code for Google Analytics, what I found was overkill so I wrote my own.
It adds one field to the General Settings screen to let you enter your Google Analytics Tracking ID. That’s all there is to it.
You can download it from https://wordpress.org/plugins/technicality-google-analytics/ .