
The Conversion Optimizer Basic is the simple way to run a Google Website Optimizer experiment on Joomla! websites. Create your experiment on Google, cut & paste the scripts into the plug-in configuration, add a simple tag on your test and conversion pages, then sit back and wait for Google to tell you what works the best.
The Basic version is a Joomla! plug-in, available for Joomla! 1.5, 1.6, 1.7 and 2.5. This version will runs a single, standard A/B or Multivariate experiment. The Conversion Optimizer Pro allows you to run many experiments at the same time, and simplifies the setup process by automatically importing the scripts and providing cut & paste content tags. Our premiere product, the Optimizer Pro Plus goes beyond Pro by adding integration with Google Analytics, support for Time-On-Page, Link Click and Form Submit conversions as well as experiments spanning multiple test pages. Find out more about these three versions on our intro page.
Set up and Configuration is simple, quick and painless. Here's how to get started.
Designing an experiment is beyond the scope of this documentation, however Google offers great information on the topic. Once you're ready, set up your experiment on the Google Website Optimizer site. Google will ask for several URLs when setting up your experiment, if you're using SEF, remember to use the SEF version of the URLs. When you reach Step 2 - Install and validate JavaScript tags, do the following:
We've tested this plug-in extensively. Still, it's always a smart practice to check your site and make sure it works in your exact configuration. If you run into any problems, disable the plug-in right away and contact us with the specifics.
This plug-in does not check your JavaScript code, so double-check that you've put the right scripts in the right boxes!
Sites with mod_security enabled may experience a 500 error when saving the scripts. This is because some configurations of mod_security prevent javascript code with calls to external sites (in this case google.com) from being saved in the database. To resolve this, you will need to change the mod_security filters to allow scripts from google.com, or upgrade to Optimizer Pro or Pro Plus.
You're almost there! Next, you'll need to tell the plug-in which pages are in the experiment, with a few tags. Here's how to set that up:
Conversion Optimizer Basic now lets you change the tag. In general, leave this at the default value optimizerbasic. Some previous versions of Conversion Optimizer Basic used the {pggwob tag rather than {optimizerbasic. If you've already added tags to your content with {pggwob tags, use the Tag option in the plugin configuration to change this to pggwob. Some users may wish to change this to another value for added security.
{optimizerbasic o} tag ANYWHERE in your Joomla content on the Original page, but just once. You can place this tag within your content, or a module position. Place it where you feel best. When the plug-in sees this code, it'll place the correct Website Optimizer scripts from the plug-in parameters where Google wants them.{optimizerbasic v} tag ANYWHERE on each of your variation pages. Again, the plug-in will grab the Google JavaScript code from the plug-in parameters and put them where Google wants them. In experiments with multiple variation pages, you may find it easier to publish the {optimizerbasic v} tag in a custom HTML module instead of within the content.{optimizerbasic c} tag ANYWHERE on your conversion page. In fact, it's not well documented, but if you have several pages that mark a conversion, place the code on each of those pages, and Google will count them all as a conversion. We tested this on a site with several opt-in mailing lists. Each list had its own, customized "Thank you" page. We placed the conversion code on each page, because for that experiment signing up for any of the mailing lists meant success. Please note, Virtuemart users will need to put this conversion tag in the "checkout.thankyou.tpl.php" file.{optimizerbasic c} code ANYWHERE on your conversion page. In fact, it's not well documented, but if you have several pages that mark a conversion, place the code on each of those pages, and Google will count them all as a conversion. For example, we tested this on a site with several opt-in mailing lists. Each list had its own, customized Thank you page. We placed the conversion code on each page, because for that experiment signing up for any of the mailing lists meant success. Please note, Virtuemart users will need to put this conversion tag in the "checkout.thankyou.tpl.php" file.{optimizerbasic s:[PAGE SECTION NAME]} tag at the very start of each page section. Of course you'll need to replace [PAGE SECTION NAME] with a unique name for the section. The plug-in will replace this with the correctly formatted code that google wants for the start of a page section.{optimizerbasic /} at the end of the section.Here's an example of what this may look like:
{optimizerbasic s:heading} <h1>Page Heading</h1> {optimizerbasic /} {optimizerbasic s:product description} <p>This product is spectacular, fantastic AND amazing!</p> {optimizerbasic /} {optimizerbasic s:buy now button} <a>Get it now!</a> {optimizerbasic /}
Custom HTML Modules
You can add tags in custom HTML modules too. Be careful, though, to publish modules with these tags on your experiment pages ONLY.
Now that you've set up the plug-in parameters and added codes to your experiment pages, go back to Google Website Optimizer - Step 2 page. And do the following:
{optimizerbasic c} appears somewhere on that page (in the content or a module). In A/B testing you'll also need an original page (with the {optimizerbasic o} tag on that page) and at least one variation page, with the {optimizerbasic v} tag on that page. If you're running a multivariate experiment, you'll need to define at least one Page Section on your test page.{optimizerbasic s:[PAGE SECTION NAME]} and an end {optimizerbasic /}. Also, you can not overlap or nest page sections. Once you start a page section, you must end it before beginning the next.