5099 Posts in 1519 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1774 Views |
-
Multivariety testing (split-tests) with Google Website Optimizer

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:
<script>utmx_section("Section")</script>
Section-content (this will be changed by GWO on-the-fly.
</noscript>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?
-
Re: Multivariety testing (split-tests) with Google Website Optimizer

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):
ContentNegotiator::disable();
Josh
-
Re: Multivariety testing (split-tests) with Google Website Optimizer

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...
-
Re: Multivariety testing (split-tests) with Google Website Optimizer

23 August 2009 at 12:54pm
You might need to allow <noscript> tags in TinyMCE, see http://doc.silverstripe.com/doku.php?id=htmleditorconfig
| 1774 Views | ||
|
Page:
1
|
Go to Top |



