Index: trunk/fundraiser-statistics/fundraiser-scripts/fundraiser_reporting.py |
— | — | @@ -505,27 +505,27 @@ |
506 | 506 | if type == 'LP': |
507 | 507 | query_name = 'report_LP_metrics' |
508 | 508 | campaign = '[0-9](JA|SA|EA)[0-9]' |
509 | | - title = query_name + '_' + metric_name |
510 | | - fname = title + '.png' |
| 509 | + title = metric_name + ': ' + start_time + ' -- ' + end_time |
| 510 | + fname = query_name + '_' + metric_name + '.png' |
511 | 511 | elif type == 'BAN': |
512 | 512 | query_name = 'report_banner_metrics' |
513 | 513 | campaign = '[0-9](JA|SA|EA)[0-9]' |
514 | | - title = query_name + '_' + metric_name |
515 | | - fname = title + '.png' |
| 514 | + title = metric_name + ': ' + start_time + ' -- ' + end_time |
| 515 | + fname = query_name + '_' + metric_name + '.png' |
516 | 516 | elif type == 'BAN-TEST': |
517 | 517 | r = self.get_latest_campaign() |
518 | 518 | query_name = 'report_banner_metrics' |
519 | 519 | campaign = r[0] |
520 | 520 | start_time = r[1] |
521 | | - title = query_name + '_' + metric_name + '_' + campaign |
522 | | - fname = title + '.png' |
| 521 | + title = metric_name + ': ' + start_time + ' -- ' + end_time + ', CAMPAIGN =' + campaign |
| 522 | + fname = query_name + '_' + metric_name + '_latest' + '.png' |
523 | 523 | elif type == 'LP-TEST': |
524 | 524 | r = self.get_latest_campaign() |
525 | 525 | query_name = 'report_LP_metrics' |
526 | 526 | campaign = r[0] |
527 | 527 | start_time = r[1] |
528 | | - title = query_name + '_' + metric_name + '_' + campaign |
529 | | - fname = title + '.png' |
| 528 | + title = metric_name + ': ' + start_time + ' -- ' + end_time + ', CAMPAIGN =' + campaign |
| 529 | + fname = query_name + '_' + metric_name + '_latest' + '.png' |
530 | 530 | else: |
531 | 531 | sys.exit("Invalid type name - must be 'LP' or 'BAN'.") |
532 | 532 | |
Index: trunk/fundraiser-statistics/fundraiser-scripts/run_plots.py |
— | — | @@ -27,4 +27,8 @@ |
28 | 28 | blpr.run('LP', 'don_per_view') |
29 | 29 | blpr.run('BAN', 'don_per_imp') |
30 | 30 | blpr.run('BAN', 'click_rate') |
31 | | -blpr.run('LP', 'conversion_rate') |
\ No newline at end of file |
| 31 | +blpr.run('LP', 'conversion_rate') |
| 32 | + |
| 33 | +# Run the banner/lp plots |
| 34 | +blpr.run('LP-TEST', 'don_per_view') |
| 35 | +blpr.run('BAN-TEST', 'don_per_imp') |
\ No newline at end of file |
Index: trunk/fundraiser-statistics/reporting/reporting_latest.html |
— | — | @@ -0,0 +1,56 @@ |
| 2 | + |
| 3 | + |
| 4 | +<!-- Add style sheet --> |
| 5 | + |
| 6 | +<html> |
| 7 | + |
| 8 | +<head> |
| 9 | + |
| 10 | +<title>Wikimedia Fundraiser Reporting</title> |
| 11 | +<!-- |
| 12 | +<script type="text/javascript"> |
| 13 | + |
| 14 | + var _gaq = _gaq || []; |
| 15 | + _gaq.push(['_setAccount', 'UA-20321172-1']); |
| 16 | + _gaq.push(['_trackPageview']); |
| 17 | + |
| 18 | + (function() { |
| 19 | + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
| 20 | + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
| 21 | + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
| 22 | + })(); |
| 23 | + |
| 24 | +</script> |
| 25 | +--> |
| 26 | +</head> |
| 27 | + |
| 28 | +<body> |
| 29 | + |
| 30 | +<h1>Fundraiser Reporting - Latest Tests</h1> |
| 31 | + |
| 32 | +<br> |
| 33 | + |
| 34 | + |
| 35 | +<p> |
| 36 | +This page will be used for graphical reporting of fundraiserrelated data for the latest tests. |
| 37 | +</p> |
| 38 | +<br> |
| 39 | + |
| 40 | +<h3><u>Banners Donations Per Impression</u></h3> |
| 41 | +<OBJECT WIDTH="1600" HEIGHT="800" data="report_banner_metrics_don_per_imp_latest.png" type="image/png"> |
| 42 | +<p>Total donation amounts over a given period.</p> |
| 43 | +</OBJECT> |
| 44 | + |
| 45 | +<br> |
| 46 | + |
| 47 | +<h3><u>Landing Pages Donations Per View</u></h3> |
| 48 | +<OBJECT WIDTH="1600" HEIGHT="800" data="report_LP_metrics_don_per_view_latest.png" type="image/png"> |
| 49 | +<p>Total donation amounts over a given period.</p> |
| 50 | +</OBJECT> |
| 51 | + |
| 52 | +<br> |
| 53 | + |
| 54 | + |
| 55 | +</body> |
| 56 | + |
| 57 | +</html> |
\ No newline at end of file |
Index: trunk/fundraiser-statistics/reporting/fundraiser_analytics.html |
— | — | @@ -29,7 +29,8 @@ |
30 | 30 | <h1><u>Wikimedia Fundraiser Analystics</u></h1> |
31 | 31 | <br> |
32 | 32 | |
33 | | -<h2><a href="http://fundraising.wikimedia.org/stats/reporting.html">Reporting</a></h2> |
| 33 | +<h3><a href="http://fundraising.wikimedia.org/stats/reporting.html">Reporting</a></h3> |
| 34 | +<h3><a href="http://fundraising.wikimedia.org/stats/reporting_latest.html">Reporting - Latest Test</a></h3> |
34 | 35 | |
35 | 36 | <br> |
36 | 37 | |
Index: trunk/fundraiser-statistics/reporting/reporting.html |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | |
34 | 34 | |
35 | 35 | <p> |
36 | | -This page will be used for graphical reporting of the fundraiser. |
| 36 | +This page will be used for graphical reporting of the fundraiser related data. |
37 | 37 | </p> |
38 | 38 | <br> |
39 | 39 | |
— | — | @@ -69,7 +69,7 @@ |
70 | 70 | |
71 | 71 | <br> |
72 | 72 | |
73 | | -<h3><u>Landing Pages Donations Per Donation Click (Conversion Rate)</u></h3> |
| 73 | +<h3><u>Landing Pages Donations Per Donation Click (Completion Rate)</u></h3> |
74 | 74 | <OBJECT WIDTH="1600" HEIGHT="800" data="report_LP_metrics_conversion_rate.png" type="image/png"> |
75 | 75 | </OBJECT> |
76 | 76 | |
Index: trunk/fundraiser-statistics/bash/plot_build_hr.sh |
— | — | @@ -9,4 +9,7 @@ |
10 | 10 | cp /home/rfaulk/fundraiser-statistics/fundraiser-scripts/report_banner_metrics_don_per_imp.png /srv/org.wikimedia.fundraising/stats/ |
11 | 11 | cp /home/rfaulk/fundraiser-statistics/fundraiser-scripts/report_total_amounts_by_hr.png /srv/org.wikimedia.fundraising/stats/ |
12 | 12 | cp /home/rfaulk/fundraiser-statistics/fundraiser-scripts/report_banner_metrics_click_rate.png /srv/org.wikimedia.fundraising/stats/ |
13 | | -cp /home/rfaulk/fundraiser-statistics/fundraiser-scripts/report_LP_metrics_conversion_rate.png /srv/org.wikimedia.fundraising/stats/ |
\ No newline at end of file |
| 13 | +cp /home/rfaulk/fundraiser-statistics/fundraiser-scripts/report_LP_metrics_conversion_rate.png /srv/org.wikimedia.fundraising/stats/ |
| 14 | + |
| 15 | +cp /home/rfaulk/fundraiser-statistics/fundraiser-scripts/report_LP_metrics_don_per_view_latest.png /srv/org.wikimedia.fundraising/stats/ |
| 16 | +cp /home/rfaulk/fundraiser-statistics/fundraiser-scripts/report_banner_metrics_don_per_imp_latest.png /srv/org.wikimedia.fundraising/stats/ |
\ No newline at end of file |