ngecoding.com logo

Adding your site to Google Analytics

//if(youLikeIt || itHelpsYou)clickShare();

Google Analytics is a service provided by Google to view your website traffic. You can view detailed statistics about your website, such as : visitors, pageviews, traffic source, visitor location, etc. 

This is example snapshot taken from Google Analytics

In this tutorial, we will show you how to add your website to Google Analytics.

1.  Register to  Google Analytics.

2.  Choose admin in top menu :

     

3.  In the left Account section, choose Create New Account.

     

4.  Fill the registration form.

Account Name Accounts are the top-most level of organization and contain one or more tracking IDs.
Website name Your website name
Website URL Your website url
Industry Category Choose the category that best represents your website.
Reporting Time Zone Select your country and time zone. 

   Click Get Tracking ID button.

5.  Your tracking code should be like this. 

<script>
 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

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

  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');


  ga('create', 'UA-XXXXXX-1', 'auto');

  ga('send', 'pageview');



</script>

Copy your tracking code into your every website page you want to track.

 

Good Luck yes

//if(youLikeIt || itHelpsYou)clickShare();
//Advertisements
Take a Break //non-technical articles
Hot Topics //most used tags
Email Subscriptions //We won't spam you. Honest!

Enter your email address:

Delivered by FeedBurner