How to Install Google Analytics to WordPress Without Plugin

HomeWordPressHow to Install Google Analytics to WordPress Without Plugin

How to Install Google Analytics to WordPress Without Plugin

Google Analytics is the most powerful tracking tool for your website. If you are running a commercial site or just a personal blog, you need a tracking tool to get to know who are viewing your site

With its useful and complete features, Google Analytics is widely-adopted tracking tool for any webmasters. Nearly all WordPress based sites and blogs use Google Analytics to track their visitors. Installing Google Analytics to WordPress is never that hard. There are two ways to add Google Analytics to your WordPress site: via plugin and manually

This article will guide you how to install Google Analytics to your WordPress manually, instead of using plugin. I assume that you already have a Google account. If you don’t, you can create it first

  • Open your browser and go to Click on the “SIGN IN” button on the top right corner and choose “Google Analytics”


  • On the new page, click on the “Sign up” button

sign up

  • You will be asked for some parameters. Fill all the fields. Once you done, scroll down the page and press the “Get Tracking ID” button to get the tracking ID. Copy the code


  • Login to your WordPress dashboard and head to “Appearance –> Editor”. Choose Theme Footer (footer.php) on right side bar. Paste your Google Analytics tracking ID code right above the body tag. Press “Update File” button


hand-picked weekly content in your inbox


related posts