Forum Moderators: phranque

Message Too Old, No Replies

Appending metrics code to all documents in a site

A large, template-less, mutli-managed intranet needs metric code attached

         

jbjose

8:51 am on Oct 3, 2002 (gmt 0)



Hi,

I need to attach code to calculate statistics on all html documents in a site. The code needs to appear right before the terminating body tag.

Unfortunately, the site is managed by a many different people and although there is a standard format, it is not necessary followed. The site uses no template that can be easily altered. Basically, each content manager is given a chunk of space on the server and is free to do whaterver they need to. Also, the code is provided by our vendor, so I cannot change it.

Hence, I cannot:
a) use a script to append the code to all the the pages served (difficult as pages are not the same or even slightly the same throughout)
b) have the web server attach it as a Document Footer as iPlanet WS6 only takes 765 chars (the code is longer).

I thought of using the document footer to append a server-side include to be parsed by the web server. Will this work? Is the document footer attached first before being parsed or the other way around?

Any help/suggestions/ideas would be GREATLY appreciated!

TIA

jbjose

8:53 am on Oct 3, 2002 (gmt 0)



Apologies, the second sentence of the second paragraph meant to read:
"The site uses no template that can NOT be easily altered."