Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Multivariety testing (split-tests) with Google Website Optimizer

Go to End

4 Posts   2523 Views


Community Member, 2 Posts

4 August 2009 at 1:11am

Edited: 04/08/2009 1:12am

A/B-split-testing in Silverstripe is easy enough ( although not at all optimal, but how do I perform multi-variety experiments with Google Website Optimizer (GWO) in silverstripe when the CMS (tinyMCE) deletes half the script?

A typical GWO mulit-variety script looks like this:

Section-content (this will be changed by GWO on-the-fly.

The problem is the lonely, unbalanced "</noscript>" which is deleted by tinyMCE on save, which in return renders the script useless.

Anyone with a solution to this problem?


Community Member, 57 Posts

4 August 2009 at 10:04am

Could you not create a new page-type which has that code in, wrapped around the $Content? This is an alternative to putting it into TinyMCE and so you won't have those problems.

Also, you might want to disable the Content Negotiator (in _config.php):




Community Member, 2 Posts

5 August 2009 at 1:59am

I'm afraid I haven't godt the possibility to edit (or indeed add) new templates so I need a solution that will work in the CMS...


Forum Moderator, 801 Posts

23 August 2009 at 12:54pm

You might need to allow <noscript> tags in TinyMCE, see