0

我正在为 Rails 使用 A/Bingo,它似乎工作正常,除了计算转换。看起来第一个转换的用户的转换被计算在内,但随后它被卡住并且不记录任何其他转换。我知道发生转化是因为我在两个完全独立且不相关的分析应用程序中看到它们。

我的测试称为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 仪表板页面上注册吗?

4

1 回答 1

0

看起来您的代码未遵循此处列出的示例:http: //www.bingocardcreator.com/abingo

我会按照他们的例子,看看是否可行。

于 2011-02-03T15:56:11.473 回答