[thelist] Injecting HTML into IIS

Volkan Özçelik volkan.ozcelik at gmail.com
Fri Jan 18 09:15:08 CST 2008

> that there is no easy way for him to add Google Analytics code to all the
> pages (presumably the whole site is a hodge-podge of static files?).

Well I question that.

It is pretty easy to find all ending


and replace it with

<script type="text/javascript">ga code</script></html>

Any decent text editor can do it automatically.

Or you can write a batch script for that, which recursively traverses the
wwwroot and does necessary replace operations.

It would be a good idea to ask your client what prevents him from such a

Volkan Ozcelik
+> linkibol.com - in seek for quality links : http://www.linkibol.com/
+> Going solo in Turkish: http://www.fikribol.com/donkisot/
+> My projects/studies/trials/errors : http://www.sarmal.com/
+> Sardalya JavaScript Library: http://www.sarmal.com/sardalya/

More information about the thelist mailing list