How to add Google Analytics code to Wordpress blog

Google analytics is a tool that can be used to see what users are doing on your sites. To use this you need to have a Google analytics account.

wordpress-logo2

Steps to follow

  1. Download GA plugin

  2. Install Google analytics plugin

  3. Activate plugin

  4. Register a tracking account with GA

  5. Copy and paste the code in wordpress dashboard


Let us work on the problem now, it is pretty easy to do.

Download GA plugin

Download the plugin from here or from here.

Install Google analytics plugin

Upload the GA plugin file in /public_html/wp-content/plugins

If it is a zip file, unzip it.

Activate plugin

Open wordpress dashboard and go to the plugins section.Activate the wordpress plugin

 


 



Register the tracking account with Google analytics

Click on  Add a new account in the analytics home page

Sign up

Enter the website details

Copy the analytics code

Copy and paste the code in wordpress dashboard

In wordpress dashboard, go to settings and you will find GA there.

 

Click on Google Analytics and you will be displayed with the GA settings screen.

Paste the tracking code in the GA script box.

Note: Make sure the tracking code is same.

Go back to Google analytics and see if the results are pulled in. If you do not see success again try. It takes some time to get the details reflected in.

Was it simple. Please drop a comment.
Post a Comment