Enabling and Configuring a Module

This is a brief example of how to install and configure a relatively simple module, the Google Analytics Module. This module will allow you to track visitors to your website in a very fine grained manner via Google Analytics.

Enabling a Module

  1. Read the module documentation on drupal.org
  2. Request a google analytics tracking code from ITS.
    1. Put in a service-now ticket assigned to ITS_TA_WEB_Services
    2. Include your site URL and site name
  3. Login as the site admin to your website (https://yoursite.ucsf.edu/user)
  4. Click on the "Modules" text in the admin menu
  5. Type Google Analytics into the the filter list box
  6. Check the Google Analytics box in the "enabled" column
  7. Click the "save configuration" button near the bottom left of the page
  8. The module is now enabled

Configuring a Module

 

  1. Login as the site admin to your website (https://yoursite.ucsf.edu/user)
  2. Click on the "Modules" text in the admin menu
  3. Type Google Analytics into the the filter list box
  4. Click the configure link next to the Google Analytics module
  5. Add you Google Analytics tracking code to the Web Property ID field (example UA-2208693-31).
  6. Select the Roles tab. 
  7. Click the check boxes for "Anonymous User" and "Autheticated User"
  8. Click save configuration.
  9. Now your site will track anonymous visitors and people who have a login but are not editors or admins.