34
- 23 -
Install and validate JavaScript tags
Choose to add the code to your pages yourself or, if someone else, such as
the site’s webmaster, will be adding the JavaScript tags to your pages, select
My web team will install and forward the displayed URL to them. They will be
able to access all your account-specific code, but they will not have access
to any other part of your AdWords or Website Optimizer account.
Tagging your original page: Your original page will need to be tagged with
control script as well as tracking script.
Add the control script: Copy and paste the entire control script into the
beginning of your original page’s source. It should appear immediately after
the opening <body> tag.
Add the tracking script: Copy and paste the tracking script directly before
your page’s closing </body> tag.
Make sure to use only the tracking script provided in your account, since it
contains an account number that’s unique to your experiment. You should also
make sure that you add the tracking script from the original page section, as
the conversion page tracking script is slightly different.
Tagging your alternative pages: Your alternative pages only need the
tracking code, which should be placed directly before each page’s closing
</body> tag.
Tagging your conversion page: Your conversion page also gets tracking script,
which should be pasted directly before the closing </body> tag.
Once all of your pages have been updated and uploaded to your server, click
Validate pages. Website Optimizer will visit your pages and check for correct
installation of your code. If there are problems with the code, you’ll be notified
of the error and told on which page the error occurred. Please fix the code
and click Validate pages again when you’re ready to validate.
If everything checks out okay, click OK then Continue to proceed.
Preview and start your experiment
Your experiment is ready to go at this point—if you’d like to see all of your
pages, click Preview link. If you’re ready to start the experiment, click Start
experiment. We’ll start the A/B test immediately, and initial data should be
available in your reports within 24 hours.