Introduction
The Digital Bell includes a built-in option for using Google Analytics to track your site's traffic. The following tutorial will explain how to sign up for an Analytics account, and integrate it with your site. Google Analytics can provide you with traffic statistics, such as the amount of page views you receive in a given time period, or what your most viewed pages are.
Step 1 - Sign up for the Analytics Service with your Google Account
You will first need to log into your preferred Google account (Note: your analyitcs data will be tied to the account you sign up with - if one does not exist, you may wish to create an account for your school or organization, as opposed to using a personal account). Next, visit https://www.google.com/analytics, and click the 'Sign Up" button.
Next, fill out the form with your website information.
Account Name: Enter a name of your choosing. This will be the name associated with the Analytics service.
Website Name: Enter the name of the website that will be used with the Analytics service.
Website URL: The address of the website (ex. www.digitalbellcms.com).
Industry Category: Select the appropriate category for your site.
Reporting Time Zone: Select the appropriate time zone for your website's traffic data logging.
Step 2 - Locate the UA Number
Once you have signed up for the service and filled out your website information, Google will provide a code snippet to add to your site. The only part of this snippet that is necessary for The Digital Bell is the UA number.
In the example snippet below, the UA number is on the thrid line - bold and highlighed in red.
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-21965116-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
Select/highlight your UA number and copy it to your clipboard. This number will be pasted into your Digital Bell site settings to enable the Analytics service.
If you do not automatically see the tracking code snippet after completing the sign-up process, see the "Find your Tracking ID" instructions from the following Google Help page to retrieve it: Set up Analytics Tracking
Finish - Enable Google Analytics
With the UA number copied, sign into The Digital Bell and mouse over the "Tools" (or "Site Tools") tab, located in the menu at the top of any Digital Bell page. In the drop-down menu, click "Site Settings."
On the Site Settings page, click the "Google Analytics" link in the right sidebar.
Enter the entire "UA-#######-#" string into the "Key:" field, and click the "Submit" button. This will complete the process and enable the Google Analytics service - the tracking code will automatically be added to each page on the site.
It may take up to 24 hours before the Google Analytics service begins logging your data. After the 24-hour waiting period, you can access your website statistics at http://google.com/analytics.