-
☆ A M B ☆
- 24,524 Posts
Yes, you could use duplicate pages as the result page, then use one of the page hit counter packages to keep track of which one gets more hits.
-
☆ A M B ☆
- 318 Posts
Easy A/B testing is a requirement of a project I'm starting. I'm not sure how I'm going to do it yet, but if I get something I'm happy with I'll try to release it as an extra.
There was some discussion of an extra here:
https://forums.modx.com/thread/72691/does-anybody-need-an-a-b-test-add-on?page=2, but it appears that nothing came of it.
I would think that you'd want to check for a $_SESSION variable for each user. If it's not set, you'd randomly select what to show (or alternate), set a placeholder with selected content, and then set the result in the $_SESSION variable so that that user would see the same selection throughout that visit.
I think the answer for most of those depends on what you're trying to track, what the "goal" is, and how critical the information is. In some cases, you're goal might be simply clicking on something. In other cases, it might be a product purchase or a completed registration.
In a lot of simple A/B tests, you just want to know the click totals (or percentages) for each option.
You'd have to tailor the method to the specific task.
Here are some other considerations:
http://searchengineland.com/googles-seo-guide-on-ab-multivariate-testing-130093
-
☆ A M B ☆
- 318 Posts
Ooo, that link is a good one - yeah, that's very important, you don't want to mess up your SEO.
As for the requirements, my thinking was to try to make it as generally applicable as possible, so maybe it should have options for testing various thing such as different chunks, different templates etc, and for tracking things such as clicks and page views.