Now that you are in the Theme Editor panel, you will need to decide where you want to place the hit counter. For this tutorial, let’s say you want to paste the hit counter at the bottom of each page. In that case, we would paste the code in the footer file. Placing the code in the footer file will place the hit counter at the bottom of each page.
So, that means we will need to select the footer file. On the right side of the box you are looking at, you should see the Footer (footer.php) file. Click that file to load the footer file in the theme editor window. Now you will need to look for the closing div tags. There will probably be at least two closing div tabs. There may even be more. You will want to paste the code you copied right before the first closing div tag.