Adding Google Analytics on WebSite Tonight.
In the past I’ve covered the importance of site content and
tracking web traffic to your site but I know a lot of you out there use Google
to search so here is a different way of tracking traffic and site content via
Google.
You’re going to need a Google Analytics account so go to www.google.com/analytics and set that up when you can. Once you set it up, you’ll get some script that you need to add to your WebSite Tonight project.
The code will look similar to what I have below and click here if you need to know how to add a script.
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-861481-5";
urchinTracker();
</script>
</script>
<script type="text/javascript">
_uacct = "UA-861481-5";
urchinTracker();
</script>
The instructions say to put the code just before the </body> tag in your HTML but putting it into the footer of your project will do equally fine.

Once you've added the script, Google Analytics will start tracking your site but you will have to wait until the next day before you see the results in your Google Analytics control panel.



Comments