Google Website Optimizer v 1.0 The Techie Guide Manuel d'utilisateur Page 12

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 26
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 11
12
Non-Standard Experiments
Non-Standard Experiments (Testing Static Content)
Background
Before we go into the specics of setting up experiments for non-standard setups, lets elaborate on some
GWO concepts.
Earlier in this guide, we used the terms test page and conversion page (in singular form) to keep things
simple. As you set up an experiment, GWO asks for the URL for yourtest page (or pages, for A/B
experiments) and the URL for your conversion page.GWO then continues to explain how to install the
JavaScript code onthe test page and the conversion page.
These terms imply that your test elements are all part of asingle test pagewith a specic URL, and that
conversions happen on aspecic URL.
But what if this isnt the case?
Lets look at how to set up more complicated scenarios. As we saw earlier, GWO has four piecesof JavaScript
(three for A/B):
1. The Control Script at the top of the page (this loads the JavaScript functions used to replace content
for MVT or redirect the user for A/B)
2. The Section Script (utmx_section) right before a section with a </noscript> at the end (for MVT only)
3. The Tracking Script JavaScript
4. The Conversion Script JavaScript
This time, instead of thinking in terms of a test page and conversion page with specic URLs, think in terms
of executing some JavaScript for each one of the functions.
To load the utmx section function, call the Control Script, which then invokes siteopt.js, which will
provide an implementation of the utmx section function.
To replace the content for a section, call the Section Script. This applies to MVT experiments only.
The utmx_section alone is not capable of completing this work. You need an ending </noscript> tab
to delineate where the section ends.
To register a visit, call the Tracking Script.
To register a conversion, call the Conversion Script.
Here are a few other details you should know:
Purpose of utmx_section
The utmx_section function call just before a section, and the </noscript> at the end of a section, are actually
serving two different purposes.
1. When the function is executed, it marks where the section begins and ends (denoted by </noscript>),
and it may replace the content. When a user is viewing the original content, it leaves anything
between those tags untouched.
2. When the experiment is being set up, GWO looks for the utmx_section call to identify the names and
order of the sections.
Vue de la page 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 25 26

Commentaires sur ces manuels

Pas de commentaire