How to Include Google Analytics Tracking Code?
- Copy the code given to you by Google Analytics
- Go to WordPress > Appearance > Customize > Custom Javascript > look towards for Header Code box.
- Paste your Google Analytics (or other) tracking code here. This code will automatically be inserted into the head of your theme on every page.
- Click Save Changes. That’s it!