2010-10-23 16 views
0

我正在使用A/Bingo for Rails,除了計算轉換次數外,它似乎工作正常。它看起來像轉換的第一個用戶轉換是計數,但然後它卡住,並沒有記錄任何其他轉換。我知道發生了轉化,因爲我在兩個看到它們完全獨立且無關的分析應用程序。A /賓果不能正確寫入轉換?

我的測試被稱爲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儀表盤頁面上註冊?

回答