Tutorial

First get yourself a google analytics account if you do not already have one at:
www.google.com/analytics/

Setup your site in your google analytics account. You will need to place the code google gives you in your Dolphin site. After placing the code on your site analytics will tell you if it is receiving data. If so you will need to wait at least 24 hours for statistics to be generated. After this it updates once per 24 hours. So don't go checking it every hour because it wont do any good until the next 24 hours have passed. For me it seems to update every night after 12:00 am.

It's totally FREE. It works well and provides a number of statistics about your site.

Google gives you 2 options for code. "New Tracking Code (ga.js)" or "Legacy Tracking Code(urchin.js)" which looks like:

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-your-analytics-id");
pageTracker._trackPageview();
</script>


<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-your-analytics-id";
urchinTracker();
</script>


I use the Legacy Tracking Code, but it's up to you.

You should add the code to:
yoursite.com/templates/base/_footer.html

First backup the original file just in case.

Then open the file with a text editor of some kind, and add your google analytics code before:
    </body>
</html>

So it would look something like:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-your-analytics-id";
urchinTracker();
</script>
    </body>
</html>

Obviously replacing with your actual google analytics code.

Save file and re-upload to your host over-writting the original.

Refresh your site and browse around a bit. Then go back to your google analytics account and verify that your google account says it's receiving data.

Wait 24 hours or so, and check back to see updated statistics.

 
Written By
Tutorial by: Jeremy LeSarge (AKA Ray)

I am the owner and administrator of DialMe.com. I write Tutorials for Boonex Dolphin as well as tips and resources surrounding website programming and development. I enjoy working with WordPress, SEO, and Web Hosting / Servers. I also maintain a WordPress Blog here on this site where you will find a variety of technology and webmaster resources.

Actions
Recommend
Sponsored Links