Are we able to use Google Analytics with psu blogs? If so, what's the best way to go about it?
(Sorry if this is posted elsewhere and I'm just not seeing it!) Thanks!
You can add google analytics to your blog, but you will need to be slightly comfortable working with html.
Log into http://blogs.psu.edu and go to the blog you wish to add analytics. In the left sidebar there is a link for templates. This area controls all the html that is produced when you publish your blog.
You will want to add the google analytics code right before the closing </body> tag.
Here are the files to edit:
under the "Indexes" tab:
Main Index (index.html)
Master Archive Index (archives.html)
under the "Archives" tab:
Category Archive
Date-Based Archive
Individual Entry Archive
The end of all these files should end up looking something like this after adding your google analytics code:
Note: You can not add google analytics to track your rss feeds, as they are not html.
Note II: In case you end up accidentally breaking your template, you can revert your template back to the default by clicking the check box next to its title in the template listing page, and choosing "refresh template(s)" from the dropdown in the upper right.
You can add google analytics to your blog
You can add google analytics to your blog, but you will need to be slightly comfortable working with html.
Log into http://blogs.psu.edu and go to the blog you wish to add analytics. In the left sidebar there is a link for templates. This area controls all the html that is produced when you publish your blog.
You will want to add the google analytics code right before the closing </body> tag.
Here are the files to edit:
under the "Indexes" tab:
under the "Archives" tab:
The end of all these files should end up looking something like this after adding your google analytics code:
</div>
</div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-#######-1";
urchinTracker();
</script>
</body>
</html>
Note: You can not add google analytics to track your rss feeds, as they are not html.
Note II: In case you end up accidentally breaking your template, you can revert your template back to the default by clicking the check box next to its title in the template listing page, and choosing "refresh template(s)" from the dropdown in the upper right.
Works!
Everything seems to be working...thanks for the instructions!
Getting the statistics
Thanks for posting these directions. Now, how do I see my blog stats from Google Analytics?
Login to Google
I believe you can get your report by logging in at http://www.google.com/analytics/