Entering Javascript into a Notes Form

Hello,

I have the following javascript code that I am entering into .html pages for my website that will track website usage.

I also have several pages that customers get to thru our website and these pages are actually forms/pages inside of a Notes database.

website monitor

I am trying to add this same code to those pages so I can track those hits as well. I am probably being very thick here but how do I get this code onto those form/pages.

If I paste this code into the JS Header I get errors.

I would appreciate any help or direction that can be provided.

Thanks in advance.

Subject: Entering Javascript into a Notes Form

Nevermind.

Must have been having a brain cramp. All I needed to do was add it to the form, select the text and choose text\pass-thru html and it works pertect.

Subject: Entering Javascript into a Notes Form

The JS Header is for javascript, not HTML.Try HTMLHeadContent (which is a formula, so you will need to add an extra layer of quotes.)