5537 Posts in 1737 Topics by 1223 members
|Go to End|
4 August 2009 at 1:11am Last edited: 4 August 2009 1:12am
A/B-split-testing in Silverstripe is easy enough (http://www.silverstripe.org/archive/show/63414) 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?
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):
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...
23 August 2009 at 12:54pm
You might need to allow <noscript> tags in TinyMCE, see http://doc.silverstripe.com/doku.php?id=htmleditorconfig
|Go to Top|