Traffic Analysis and Tracking Statistics
Question
Can I add third party traffic tracking and statistics code to my website?
Answer
Yes you can setup tracking and statistics code on your website. We recommend Google Analytics. It's free, it's very powerful, and we already have an easy way to make it work with your site. But we also have other tracking software options available or we can custom install code just for you.
To make Google Analytics work, you first need a free Google Analytics account.
1. Go to: http://www.google.com/analytics/
2. Create a new account by clicking "Sign Up Now".
3. Follow their setup instructions. During setup you should be given "Instructions for adding tracking". Skip down to our instructions for "Getting the Tracking ID Number".
If you already have an account setup, you can login, and "edit" the profile that you setup. On the Profile Settings page click "Check Status" at the top right part of the page body. This takes you to the page with instructions how to "install" the tracking code. Read our instructions for "Getting the Tracking ID Number".
On the page with "Instructions for adding tracking" you can choose either the "Legacy Code" or the "New Tracking Code", we recommend the new code, just remember which option you chose. Look at the code provided, don't worry you don't need it all. Just find the ID number of your account, which will look something like: UA-1234567-3
Legacy Tracking Code (urchin.js)
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2131415-3";
urchinTracker();
</script>
New Tracking Code (ga.js)
<script type="text/javascript"&rt;
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&rt;
<script type="text/javascript"&rt;
var pageTracker = _gat._getTracker("UA-2131415-3");
pageTracker._initData();
pageTracker._trackPageview();
</script&rt;
Copy that highlighted ID and open up another Browser window or tab to your CMS control Panel.
1. Login to your CMS Control Panel.
2. When you login you will already be in the Admin section. In the side menu go to: Statistics > 3rd Party Statistics > Account Settings.
3. For Service, Select "Google Analytics (ga.js)" for the New Tracking Code.
4. For the Account ID, enter the ID you copied down previously.
5. Save your settings.
Now you'll have to wait for 24 hours for google to acquire enough tracking data on your site. You can go back into your google account and check the status of the tracking code, to make sure it worked. Login and look at the profile you setup. Under the column "Status" it should say "Receiving Data" if it doesn't you should be able to tell it to Check the Status right from this page. Also you can edit the profile and on the top right of the Profile Settings page it should say "Receiving Data (Check Status)". If it says receiving data, your site is probably setup. You may need to go "Check Status" just to refresh things.