Setup Google Analytics


Provide the website you wish to track using Google Analytics. You must have a Google Account to access Analytics statistics and reports.

To embed your Analytics code, use the KU Template SSI variables googleanalytics and googlecode

How to configure Google Analytics

  1. First, go to Google Analytics and click "Access Analytics" (you may need to create an account if you do not already have one).
  2. Click "+ Add new account"
  3. Fill in the configuration for your website
    Configure your website
  4. Fill in your name
    Fill in your name
  5. Read and accept the terms of service, and click "Create New Account"
    Create new account
  6. On the resulting screen, select what you are tracking (typically a single domain). You will find your Google Analytics code here. Write it down.
    Select your domain
  7. Click "Save and Finish".
    Save and Finish
  8. Finally, please grant permission to "webcomms@ku.edu" to view your statistics (for support reasons). Click "User Manager".
    User manager
  9. Click "+ Add User".
  10. Enter "webcomms@ku.edu" as the email address, "view reports only", and select your site. Click "Save Changes".
    Configure user
  11. Now you need to update your website to use the new code. To do this, open myssi/myheader.shtml and add in the following lines:
    <!--#set var="googleanalytics" value="1" -->
    <!--#set var="googlecode" value="INSERT_THE_CODE_YOU_WROTE_DOWN_HERE" -->
  12. Save the file and upload it to the server. It will take at least a day for Google to start showing statistics for your website

The University of Kansas prohibits discrimination on the basis of race, color, ethnicity, religion, sex, national origin, age, ancestry, disability, status as a veteran, sexual orientation, marital status, parental status, gender identity, gender expression and genetic information in the University’s programs and activities. The following person has been designated to handle inquiries regarding the non-discrimination policies: Director of the Office of Institutional Opportunity and Access, IOA@ku.edu, 1246 W. Campus Road, Room 153A, Lawrence, KS, 66045, (785)864-6414, 711 TTY.