Eyeball
Eyeball

Reputation: 1372

Google Optimizer - server-side/client side dilemma

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.

Upvotes: 0

Views: 543

Answers (4)

Ryan
Ryan

Reputation: 24019

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

Upvotes: 0

alesdario
alesdario

Reputation: 1894

I think this helps you

Gwo Tricks

Upvotes: 1

Steve Wortham
Steve Wortham

Reputation: 22220

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.

Upvotes: 1

Oct
Oct

Reputation: 1525

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.

Upvotes: 0

Related Questions