简体   繁体   English

尝试从Angular 1.5x迁移到ReactJS,什么是对视图进行A / B测试和试验的最佳方法?

[英]Trying to move from Angular 1.5x to ReactJS, what is the best way to A/B test and experiment with the views?

So, I have been moving part of the UI code to ReactJS, for instrumentation I wanted to A/B test my app, so that it can be easily configured. 因此,我一直将部分UI代码移至ReactJS,以进行我想对应用进行A / B测试的工具,以便可以轻松配置它。 I heard from somewhere that Intuit's Wasabi is a great framework but i disliked its overhead of setting up in production. 我从某处听说Intuit的Wasabi是一个很好的框架,但我不喜欢它在生产中投入的开销。 I want something that can be easily configured and yet the data remains inhouse. 我想要可以轻松配置的东西,但数据仍保留在内部。

As a very simple solution in React you can create a random function that displays one of two components ( A/B test ) when either of the components is displayed it fires an event to Google Analytics that tells you that the person who visited received either the A or B component.. 作为React中的一个非常简单的解决方案,您可以创建一个随机函数,在显示其中任何一个组件时显示两个组件之一(A / B测试),从而向Google Analytics(分析)触发一个事件,告知您访问者收到了一个A或B组件

As long as you have all the other events tracked for conversion on the website, analytics you should be able to get the results you need. 只要您在网站上跟踪了所有其他事件以进行转换,就可以通过分析获得所需的结果。

Other than that i am unaware of any open source and free applications that will run your A/B tests for you unless you build it yourself? 除此之外,除非您自己构建,否则我不知道有任何开源和免费应用程序可以为您运行A / B测试?

depending on traffic you could try https://marketingplatform.google.com/about/optimize 根据流量,您可以尝试https://marketingplatform.google.com/about/optimize

although the data would be housed in the optimize application. 尽管数据将存储在优化应用程序中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM