Google Optimizer - server-side/client side dilemma

541 views Asked by At

I'm hoping to test different versions of a form with Google Optimizer (Multivariate testing). The form is in an ASP include, but what the server-side code will load before Google's JS does. Any ideas about how to approach this? Thanks.

4

There are 4 answers

2
Steve Wortham On BEST ANSWER

I think I understand your problem. The trouble is that Google's multivariate test is designed to allow you to test two or more snippets of HTML and the multivariate test itself is controlled via Javascript.

So I'm afraid the only way this will work is if you can specify the HTML for Google Optimizer to use for the two versions of the form. This could be made to work with basic forms, but if the form itself is dynamically created in ASP due to some other application requirement then I don't think Google Optimizer will work so well for you.

2
Oct On

My answer is probably out-topic, but I guess you should implement the Multivariate testing by yourself in the ASP.

In the simple case, It is quite simple to implement on top of your existing application, so maybe this can do the trick in your case.

1
alesdario On

I think this helps you

Gwo Tricks

0
Ryan On

I've made progress on a similar problem. Basically, we want to A/B test 2 different page layout headers. There are some structural differences (it's not just switching out the CSS). We also don't want to wait for Google to flip the coin to determine which variation the visitor should see; instead, we want to choose the variation server-side and avoid a page redirect. I'm now using Google Analytics Content Experiments instead of the deprecated Google Website Optimizer. I don't know whether it's completely working yet, but my code is here:

Google Analytics Content Experiments A/B testing server-side code without page refresh