How to add Google Analytics Tracking Code or Other Code
- Can be added via customizer settings.
- This is not a built-in setting for Google Analytics Tracking, but a general provision to add any type of code in header.
- Copy your ‘Tracking Code‘.
- Find it in Google Analytics under the ‘Admin’ panel. Refer google docs for more info.
- Make sure you are copying the ‘Tracking Code‘ and not the Tracking ID or User ID.
- Go To : Appearance > Customize > General Options > Analytics & SEO
- Paste the code in textarea, along with ‘script’ tag