How to add Google Analytics tracking code in WordPress Website

The easiest way to add Google analytics tracking code in your WordPress website is by installing Google Analytics for WordPress plugin on your website.

The plugin is simple to install:

  1. Download
  2. Upload analytics-for-wp directory to your /wp-content/plugins directory.
  3. Go to the plugin menu page and activate the plugin.
  4. Add your Google Analytics Tracking code from the Anlytics for WP settings page as you can see in below screenshot.


Alternatively you can also add your tracking code by pasting just before the closing head in header.php file of active theme.


3 thoughts on “How to add Google Analytics tracking code in WordPress Website

Add yours

  1. Good morning. I have installed your Google Analytics plugin on our web page (WordPress). I entered the appropriate tracking number assigned by Google for my account. I am getting no data or tracking statistics. Data is flowing reliably to my Google Analytics account (same tracking number), but nothing is being posted to our WordPress account. Any ideas? Thank you!


      1. Dear Aman: Disable tracking for the Point of Care Systems Website has always been set to NO on the WordPress Analytics Plugin. No Tracking is taking place. Disable tracking set to YES would be something I would look for first before I contacted you. That would be too obvious. I very much need an answer. Sincerely, Tom Modeen, VP Marketing and Sales. Point of Care Systems

        Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a website or blog at

Up ↑

%d bloggers like this: