关于 a/bingo 基础知识的问题(a/b 测试)
从: http://www.bingocardcreator.com/abingo/usage
#A view example with a block passed to ab_test:
<% ab_test("call_to_action", %w{button1.jpg button2.jpg}) do |button| >
<%= image_tag(button, :alt => "Call to action!" %>
<% end %>
做任何“选择”块中传递的内容必须是某种链接? a/bingo 如何知道不同的选择何时被转换?
from:
http://www.bingocardcreator.com/abingo/usage
#A view example with a block passed to ab_test:
<% ab_test("call_to_action", %w{button1.jpg button2.jpg}) do |button| >
<%= image_tag(button, :alt => "Call to action!" %>
<% end %>
Does whatever "choice" that gets passed in the block have to be some sort of link? How does a/bingo know when different choices have been converted?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Abingo 的工作方式是以一致的方式向不同的“身份”发出不同的选项,以便稍后可以将结果再次聚合在一起。有多种方法可以做到这一点,例如通过 IP 地址、通过 session_id 或通过注册帐户,所有这些方法都是有效的并且可以结合使用。实际上,特定身份将始终获得相同的随机选择选项。
文档中有关分配身份的示例是作为 ApplicationController 中的处理程序:
当您想要根据使用的 A/B 选项来跟踪操作时,您需要在控制器中注入调用。另一个例子:
用户导航到该特定页面的机制完全是任意的,可以通过链接、表单提交、JavaScript 重定向或单击电子邮件。唯一重要的是 A/B 选项的显示和随后跟踪活动的控制器操作都分配了相同的 Abingo 标识。
The way Abingo works is to issue different options to different "identities" in a consistent manner so that the results can later be aggregated together again. There are several ways to do this, such as by IP address, by session_id, or by registered account, all of which are valid and can be used in conjunction. In effect, a particular identity will always get the same random selection of options.
An example from the documentation on assigning the identity is as a handler in ApplicationController:
When you want to track action based on which A/B option was used, you need to inject calls in your controllers. Another example:
The mechanism by which the user navigates to that particular page is entirely arbitrary and can be by link, by form submission, by JavaScript redirect, or by clicking on an email. The only thing that matters is that the display of the A/B option and the later controller action that tracks the activity both have the same Abingo identity assigned.