How to get Google Analytics Tracking code for your Blog/Website-A Service provided by Google for generating comprehensive statistics of the websites and blogs about every thing like traffic and it’s source, sales and conversion managements is called google analytics. There two services provided by google analytics. One is the basic service which is free of cost and another is the premium(Universal Analytics) version which is available on payment of a certain fee by the website or blog owners. It provides information from all sources about referring sites, Social Media, and direct visits. It provides a unique tracking ID and a tracking code for it’s members.
How to get your website/Blog’s Google Analytics Code
Go to http://www.google.co.in/analytics/ and sign in to your account. You can sign in with your Gmail account. The following screen will appear –
![]() |
google analytics Admin Screen |
Click “Admin”, Now ensure your site/blog name appears under “property”. If you have more than one site/blog, select the site/blog for which you want to get the analytic code and click “Tracking Info”
While you click “Tracking Info” another menu with slight change will appear like this-
![]() |
google analytics Admin Screen tracking option |
Now click “Tracking Code”, Now the following will be displayed-
Your Google analytics Tracking ID.
It will Consist of a string of letter. First two letters followed by a dash, 8 figures dash and 1 like the given below -
Tracking ID
UA-00000000-1
Your Google analytics Tracking Code
Your google analytic code will be a snippet of java script 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-50962393-1', 'centurionblogger.blogspot.in');
ga('send', 'pageview');
</script>
You gave to install it in your blog’s HTML document,s head section as it is. Please never edit or make any change to it. To save a copy of it to your hard drive is a best practice.
0 टिप्पणियाँ:
टिप्पणी पोस्ट करें
Please Donot spam