我正在使用A / Bingo for Rails,它似乎工作正常,除了计算转换次数。看起来转换的第一个用户的转化次数被计算,但随后它会卡住并且不记录任何其他转化。我知道转换发生的原因是我在两个完全独立且无关的分析应用中看到了它们。
我的测试名为body_background_white
,设置如下:
#application.html.erb
<% if (ab_test("body_background_white")) %>
<body class="umbrella whitebg">
<% else %>
<body class="umbrella">
<% end %>
# conversion trigger (not cached)
def install
bingo!("installation")
# redirect_to "/images/pixel.gif"
response.headers["Pragma"] = "no-cache"
response.headers["Cache-Control"] = "no-cache"
logger.info "Installation complete for ABingo participant #{session[:abingo_identity]}"
logger.info " Campaign data: #{cookies[:campaign_data].inspect}"
logger.info "Cachebusting check: #{rand(10000)}"
render :text => ""
end
#log output
Installation complete for ABingo participant 3462657478
Cachebusting check: 2699
Completed in 2ms (View: 0, DB: 0) | 200 OK [/_conversions/install]
--
Installation complete for ABingo participant 1402985604
Cachebusting check: 5050
Completed in 2ms (View: 1, DB: 0) | 200 OK [/_conversions/install]
--
Installation complete for ABingo participant 5021442890
Cachebusting check: 6231
Completed in 2ms (View: 0, DB: 0) | 200 OK [/_conversions/install]
--
Installation complete for ABingo participant 9682352285
Cachebusting check: 6665
Completed in 2ms (View: 0, DB: 0) | 200 OK [/_conversions/install]
您是否知道可能导致转换(超出第一个用户的转换)的原因不在abingo仪表板页面上注册?