在PHP构建的网站上进行A / B拆分测试 [英] A/B split testing on PHP built website

查看:135
本文介绍了在PHP构建的网站上进行A / B拆分测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我想在我运行的网站上进行A / B分割测试。我只是

创建了一个新版本但是我需要保持两个版本都运行并且看到

哪一个会表现得更好。首先,我不确定我是否在正确的

组。

如何随机让用户从index.php页面进入并保持

相同的网址。所以分裂是在后端完成的,我不希望用户看到例如url /new/index.php和/

索引.php。


谢谢。

解决方案

消息ID:

< 21 ********************************** @ k30g2000hse。 googlegroups.com来自

时尚¥包含以下内容:


>我如何随机让用户从index.php页面进入保持相同的URL。因此,拆分正在后端完成,我不希望用户在url /new/index.php和/
index.php中查看。



使用include()随机包含A或B

-

Geoff Berrow 0110001001101100010000000110

001101101011011001000110111101100111001011

100110001101101111001011100111010101101011
http:// slipperyhill.co.uk - http://4theweb.co.uk


9月27日,12:54 * pm,Geoff Berrow< blthe ... @ ckdog.co.ukwrote:


消息ID:

< 21f49151-796b-4e87-aae3-081058595 ... @ k30g2000hse.googlegroups.comfrom

Fad¥包含以下内容:


我如何随机让用户从index.php页面进入并保持

相同的URL。所以分裂是在后端完成的,我不希望用户看到例如url /new/index.php和/

索引.PHP。



使用include()随机包含A或B

-

Geoff Berrow * 0110001001101100010000000110

001101101011011001000110111101100111001011

100110001101101111001011100111010101101011http://slipperyhill.co.uk-http://4theweb.co.uk


$ b $我啊,我明白你的意思了。但是,让我们说每个版本都在一个

文件夹(新旧文件夹)中。我创建了index.php,随机地

可以访问新旧文件夹中的index.php吗?


感谢您的帮助


Fad¥写道:


9月27日下午12:54,Geoff Berrow< blthe ... @ ckdog。 co.ukwrote:


>消息ID:
< 21f49151-796b-4e87-aae3-081058595 ... @ k30g2000hse.googlegroups.comfrom
时尚¥包含以下内容:


>>我如何随机让用户从index.php页面进入并保持
相同的网址。因此,拆分正在后端完成,我不希望用户在url /new/index.php和/
index.php中查看。


使用include()随机包含A或B
- Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011http:// slipperyhill .co.uk-http://4theweb.co.uk



啊哈,我明白你的意思了。但是,让我们说每个版本都在一个

文件夹(新旧文件夹)中。我创建了index.php,随机地

可以访问新旧文件夹中的index.php吗?


感谢您的帮助



你不能用PHP做到这一点 - 它在PHP之前由服务器处理

参与其中。

Geoff的建议是PHP最好的建议。否则你会看到服务器的价格。


但这里真正的问题是 - 为什么你需要这个?当前网站是否存在

问题?


请注意 - 如果您在共享主机上,任何测量都将是

受其他网站放置在服务器上的负载,

以及网络流量等。

-

==================

删除x来自我的电子邮件地址

Jerry Stuckle

JDS计算机培训公司
js ******* @ attglobal.net

==================


Hello guys,

I want to do kinda of an A/B split testing on a website I run. I just
created a new version but I need to keep both version running and see
which one will perform better. First, I''m not sure if I''m in the right
group.
How can I randomly let a user enter from the index.php page and keep
the same URL. So the splitting is being done in the backend, I don''t
want the users to see for example in the url /new/index.php and /
index.php.

Thank you.

解决方案

Message-ID:
<21**********************************@k30g2000hse. googlegroups.comfrom
Fad¥ contained the following:

>How can I randomly let a user enter from the index.php page and keep
the same URL. So the splitting is being done in the backend, I don''t
want the users to see for example in the url /new/index.php and /
index.php.

Use include() to randomly include either A or B
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
http://slipperyhill.co.uk - http://4theweb.co.uk


On Sep 27, 12:54*pm, Geoff Berrow <blthe...@ckdog.co.ukwrote:

Message-ID:
<21f49151-796b-4e87-aae3-081058595...@k30g2000hse.googlegroups.comfrom
Fad¥ contained the following:

How can I randomly let a user enter from the index.php page and keep
the same URL. So the splitting is being done in the backend, I don''t
want the users to see for example in the url /new/index.php and /
index.php.


Use include() to randomly include either A or B
--
Geoff Berrow *0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011http://slipperyhill.co.uk-http://4theweb.co.uk

Aha I see what you mean. But let''s say each of the versions are in a
folder (new and old folders). I created index.php that would randomly
give access the index.php in the new and old folders?

Thanks for the help


Fad¥ wrote:

On Sep 27, 12:54 pm, Geoff Berrow <blthe...@ckdog.co.ukwrote:

>Message-ID:
<21f49151-796b-4e87-aae3-081058595...@k30g2000hse.googlegroups.comfrom
Fad¥ contained the following:

>>How can I randomly let a user enter from the index.php page and keep
the same URL. So the splitting is being done in the backend, I don''t
want the users to see for example in the url /new/index.php and /
index.php.

Use include() to randomly include either A or B
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011http://slipperyhill.co.uk-http://4theweb.co.uk


Aha I see what you mean. But let''s say each of the versions are in a
folder (new and old folders). I created index.php that would randomly
give access the index.php in the new and old folders?

Thanks for the help

You can''t do that from PHP - it''s handled by the server before PHP ever
gets involved.

Geoff''s suggestion is the best from the PHP end. Otherwise you''re
looking at the server.

But the real question here is - why do you need this? Is there a
problem with the current site?

And beware - if you''re on a shared host, any measurements will be
subject to the load the other sites are also placing on the server, as
well as network traffic, etc.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


这篇关于在PHP构建的网站上进行A / B拆分测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆