Note: If you update your theme, you should also check if the Google Analytic code is still there, depending on the theme that you are using, you might need to red0 these steps every time you update your theme.

In this article, we will show you how to add the needed code for Google Analytics using the built in Theme Editor in WordPress.

For this article, we will assume that you already have the tracking code and a copy of WordPress setup.

1) Login to the WordPress admin panel.

2) Click Appearances

3) Click the Editor option

4) Select the footer file from the right hand file list

5) Locate the </body> (normally at the bottom) in the code and place your tracking code right above it

6) Once the code has been added, click Update File

That’s it! You should start seeing tracking information on the Google Analytic website within 24 hours of making this change.