How to use Google Analytics to analyze your blog
Friday, February 15, 2008
Google Analytics is the most free powerful tool analyze your website and your blog. It shows you how many people visit your website everyday, how can thay find your website, what are they interested in your website and more.
This article will show you how to use Google Analytics to analyze visiters in Blogger.
First, you must register your blog with Google Analytics. Click here to go to Google Analytics, sign in with your Google account. In ther dashboard of Google Analytics, click on the link Add Website Profile.
In the next page, choose Add a Profile for a new domain if this is the first time you do it with Google Analytics, or if you want to create a profile with new domain; choose Add a Profile for an existing domain if you want to do with existing domain. After that enter your domain name of your blog (http://yourblogname.blogspot.com) or choose your domain name from the list. Here you can select your Location and Timezone to easy to watch the reports. Click Continue.
You will be returned to the dashboard, but now you can see your blog in the list. But it's not verified. To verify it, click on the Check status link. You will be shown a script, just copy it to your clipboard by press Ctrl-C. Your script will like this:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-xxxxxx-x";
urchinTracker();
</script>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
Now return to your blog at Blogger. In the blog setting page, go to Layout, and then Edit HTML.
People often insert Javascript codes at the end of their websites to optimize the loading time of websites. Not as usual, like some other tools for your blog, inserting the Javascript code in your HTML template is all, you can't do it here if you try to insert the Javascript which you have copied at the end of blog. This is explained by the XML format of the template, not HTML.
So that, we can use a trick here to complete this. In XML files, the tag <![CDATA[ ]]> defines a code block, in which we can use HTML, Javascript, CSS codes. For this reason, we will insert our Javascript code into this block.
Find ]]> in your template (you can use Ctrl-F in your browser for fast), and insert your Javascript code directly before it. That's all! This tip is not the best because the code is inserted at beginning of blog, but we have only this choice.
Now you can use Google Analytics to analyze your visiters and I hope it's useful for you.
This article will show you how to use Google Analytics to analyze visiters in Blogger.
First, you must register your blog with Google Analytics. Click here to go to Google Analytics, sign in with your Google account. In ther dashboard of Google Analytics, click on the link Add Website Profile.
In the next page, choose Add a Profile for a new domain if this is the first time you do it with Google Analytics, or if you want to create a profile with new domain; choose Add a Profile for an existing domain if you want to do with existing domain. After that enter your domain name of your blog (http://yourblogname.blogspot.com) or choose your domain name from the list. Here you can select your Location and Timezone to easy to watch the reports. Click Continue.
You will be returned to the dashboard, but now you can see your blog in the list. But it's not verified. To verify it, click on the Check status link. You will be shown a script, just copy it to your clipboard by press Ctrl-C. Your script will like this:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-xxxxxx-x";
urchinTracker();
</script>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
Now return to your blog at Blogger. In the blog setting page, go to Layout, and then Edit HTML.
People often insert Javascript codes at the end of their websites to optimize the loading time of websites. Not as usual, like some other tools for your blog, inserting the Javascript code in your HTML template is all, you can't do it here if you try to insert the Javascript which you have copied at the end of blog. This is explained by the XML format of the template, not HTML.
So that, we can use a trick here to complete this. In XML files, the tag <![CDATA[ ]]> defines a code block, in which we can use HTML, Javascript, CSS codes. For this reason, we will insert our Javascript code into this block.
Find ]]> in your template (you can use Ctrl-F in your browser for fast), and insert your Javascript code directly before it. That's all! This tip is not the best because the code is inserted at beginning of blog, but we have only this choice.
Now you can use Google Analytics to analyze your visiters and I hope it's useful for you.
Bài liên quan
Home