A/Bingo 没有正确编写转换?
我正在使用 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 仪表板页面上注册吗?
I'm using A/Bingo for Rails, and it seems to be working fine, except for counting conversions. It looks like conversions for the first user that converts are counted, but then it gets stuck and doesn't record any other conversions. I know that conversions occurred because I see them in two completely separate and unrelated analytics apps.
My test is called body_background_white
, and is set up like this:
#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]
Do you know what might be causing the conversions (beyond those of the first user) not to register on the abingo dashboard page?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来您的代码没有遵循此处列出的示例:
http://www.bingocardcreator.com/abingo
我会遵循他们的示例,看看是否有效。
Looks like your code is not following the example listed here:
http://www.bingocardcreator.com/abingo
I would conform to their example and see if that works.