r89238 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89237‎ | r89238 | r89239 >
Date:22:54, 31 May 2011
Author:rfaulk
Status:deferred
Tags:
Comment:
removed 'completion_rate' and 'total_clicks' from query result columns
Modified paths:
  • /trunk/fundraiser-statistics/fundraiser-scripts/sql/report_banner_metrics_minutely.sql (modified) (history)

Diff [purge]

Index: trunk/fundraiser-statistics/fundraiser-scripts/sql/report_banner_metrics_minutely.sql
@@ -4,14 +4,14 @@
55
66 if(imp.dt_min < 10, concat(imp.dt_hr, '0', imp.dt_min,'00'), concat(imp.dt_hr, imp.dt_min,'00')) as day_hr,
77 lp.utm_source,
8 -impressions * (views / total_views) as impressions,
 8+floor(impressions * (views / total_views)) as impressions,
99 views,
10 -total_clicks,
 10+-- total_clicks,
1111 donations,
1212 amount,
1313 amount50,
1414 (views / impressions) * (total_views / views) as click_rate,
15 -donations / total_clicks as completion_rate,
 15+-- donations / total_clicks as completion_rate,
1616 round((donations / impressions) * (total_views / views), 6) as don_per_imp,
1717 (amount / impressions) * (total_views / views) as amt_per_imp,
1818 (amount50 / impressions) * (total_views / views) as amt50_per_imp

Status & tagging log