| . |
|
Web Guidelines:
[Public
web] |
Web Guidelines: MIT LibrariesGoogle AnalyticsAs of February, 2008, we have finished placing an SSI into every page on the Libraries site, to include the GA code. How to see the statsGo to: How to sign in (MIT libraries staff only) Click on "view reports" next to "libraries.mit.edu."
How to add the code to a new pageTo add it to Dreamweaver-template based pages (e.g. subject guides), download & apply the current template. For anything else, add this code:
just before </body> in your page's code. If the page is in a sub-directory, of course, the code should indicate a deeper page - eg:
To test the code, upload it to the -test directory and View Source. If the SSI is spelled and placed correctly, you should see, at the bottom of the source page,
If the SSI is set up wrong, you'll get a visible error message on the non-source page. (What's SSI?)
|