A/Bingo 没有正确编写转换?

发布于 2024-09-29 02:21:07 字数 1533 浏览 6 评论 0原文

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

歌入人心 2024-10-06 02:21:07

看起来您的代码没有遵循此处列出的示例:
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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文