I'm trying to track form submissions via Goals in Google Analytics. In the confirmation text of my forms I have:
<script type="text/javascript">pageTracker._trackPageview('/contact/contact-form.html');</script>
Which doesn't seem to work. My analytics javascript code is in the header section of my page so I know that the page tracker variable has already been created.
Viewing the source of the page after the form has been submitted, the javascript code seems to be echoed out properly.
Anyone know of a way to make this work? I'd hate to make confirmation pages for each and every form I have on my site.