Support » Fixing WordPress » Google Analytics Tracking Code

Viewing 3 replies - 1 through 3 (of 3 total)
  • satrap


    Here is how you can do this without using any plugins:

    From your WP dashboard, navigate to Appearance Editor.

    On the right side, find footer.php.

    Put your code right before the </body> tag and hit update. Thats it.

    Make sure to save a copy of your Footer.php in case something goes wrong, so you can simply replace it.



    Put this code in header.php file under <head> tag in your child theme or custom theme folder and it will take 24 hours to reflect on your Google analytic’s dashboard.



    while that works too, but if you care about your site’s speed, you would want to put scripts in your footer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Analytics Tracking Code’ is closed to new replies.