Google Analytics is a free web tracking and analytics service that Google has made available. As more RIT web sites implement the RIT Google Analytics tracking code, we will continue to have a better and more accurate picture of web usage at RIT.
Using in Drupal
Google Analytics is already installed on Drupal if you are using any of the default RIT themes. If you have created your own theme, follow the steps below, adding the code to the default theme page.
Using outside of Drupal
There are three (3) simple steps to adding Google Analytics to your non-Drupal web site.
Step 1: Add the following code on each page of your site immediately before the closing </body> tag:
Step 2: Once you have added the above code to every page of your site, create a Google account if you do not already have one. If you have a Gmail account, you already have a Google account. Otherwise, to create a Google account, visit the New Account page on Google's web site.
Step 3: Finally, once you have added the code to your site and created a Google account, simply send an email to email@example.com with the following information: the URL of your site (for example: www.rit.edu/mysite/), and your Google account username.
Using Multiple Tracking Numbers
RIT's Google Analytics tracking number is UA-10681416-1. Although Google does not recommend using more than one tracking number per site, it is possible to add more than one to your site.
For example, you may have previously added Google Analytics tracking code to your site, but want to transition into using RIT's official Google Analytics account. If you are migrating into Drupal, simply enable the Google Analytics module and input your original tracking number. Because the default RIT themes already contain the official RIT tracking code, you will now have two tracking codes installed—one at the theme level and one via the module. Once you are ready to stop using your old tracking number, simply disable the Google Analytics module.
If you are not using Drupal, simply add the offical RIT Google Analytics code above to your site in addition to any other tracking code you already had on your site. You may need to do this, for example, if you are required by an advertiser to have tracking code on a landing page on your site, but also want your site to be in the official RIT Google Analytics account. In this case, you should add both sets of analytics code to your site.
If you have any questions about using Google Analytics on your RIT web site, send an email with your questions to firstname.lastname@example.org.