Write a script tag just before </body> in ASP.NET
<p>I have an ASP.NET Web Site with custom made themes. These themes are invoked using a BasePage that every page inherits, where the masterpagefile is set dynamically.</p>

<p>I want to add a tracking script to every page, but I don't want to include a &lt;%= TrackingScript %> on every theme masterpage. </p>

<p>I want to do it programmatically from the BasePage.</p>

<p>RegisterStartupScript won't work, because not every page contains a form runat="server"...</p>

<p>I'm running out of ideas, so I tought someine in here had an answer?</p>
