PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Google Website Optimizer

  1. Form guru's... one more JavaScript question:

    I'm working with Google's Website Optimizer to test the effectiveness of different content.

    It lets you test different versions of your pages by replacing certain sections of text or code with variations you create. During the test, the best performing content is then displayed more frequently. The problem I'm running in to is that some of that text is located within GF fields. (form description, input description, confirmation message, etc).

    Is it possible to insert JavaScript within any of these fields? If so, how?

    This is an example of the code it would like me to include within the confirmation page

    <!-- Google Website Optimizer Conversion Script -->
    <script type="text/javascript">
    if(typeof(_gat)!='object')document.write('<sc'+'ript src="http'+
    <script type="text/javascript">
    try {
    var gwoTracker=_gat._getTracker("UA-10831409-8");
    <!-- End of Google Website Optimizer Conversion Script -->

    As always,
    Thanks for your help

    Posted 11 years ago on Wednesday September 22, 2010 | Permalink
  2. You should be able to insert HTML (including Javascript) into the confirmation text, and field descriptions.

    However, just be aware that placing Javascript in the field descriptions or anywhere on the form other than the confirmation message could disrupt and cause a conflict with the form builder itself... because it would be output within the form builder.

    Posted 11 years ago on Thursday September 23, 2010 | Permalink

This topic has been resolved and has been closed to new replies.