August 20, 2015

Adding Google Analytic codes to your WP site

This is very important to track analytic for your website and Google analytic is free and easily available for tracking your WordPress Site.

There are very few simple steps that can help you.

1. Login to google

Your gmail account will easily give access to the google analytic.

Click on the Sign In or create accout at google.




2. Once you are logged in Goto >> admin >>your account >> Create new account




Now you have to get ready for below options:

  • What would you like to track?¬†WEBSITE / MOBILE APP
  • Account Name
  • Website Name
  • Website¬†URL
  • Industry Category
  • Reporting Time Zone

Now click on GET TRACKING ID

Accept the Google analytic agreement and you will get a GA code something like this.

(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

ga(‘create’, ‘UA-66539361-1’, ‘auto’);
ga(‘send’, ‘pageview’);


Copy and paste this code to your website template page you want to be get tracked.

For whole website tracking paste this code to WordPress ‘footer.php’.


You may also like...

Leave a Reply