Spreadfirefox affiliates: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
** Lists top 250 affiliates, sorted by the number of points each gained over the past 7 days.
** Lists top 250 affiliates, sorted by the number of points each gained over the past 7 days.
* Top Movers
* Top Movers
== Content ==
== OG Project page ==
http://spreadfirefox.com/affiliates

Revision as of 03:26, 2 April 2009

Go to the Spread Firefox wiki home

Background

The Spread Firefox Affiliates program contributes to many Firefox downloads by giving community members HTML buttons to place on their website. Website visitors click these buttons, which leads to a destination site (e.g. the Firefox download page).

The sfx_affiliates module implements the various tools needed by the Affiliates program.

Version 2

With milestone 3.0, the sfx_affiliates module has been substantially rewritten.

Goals

The rewrite was done to accomplish a few things...

  1. Cleanliness of code, comments, and structure this makes it easier to make changes in the future,
  2. Correctness, i.e. points are counted correctly, aggregate stats are correct, etc
  3. Testability, this is an awkward system to test because it is spread out over many sites.
  4. Archiving. Another big problem with v1 was that we were always deleting records, so if we had a problem longer than a month ago, the only way to get at those records would be to re-parse/tally the logs for that day/week/month

Features

Buttons

Stats & Points

Current affiliates lists

  • Top 5
  • Top 250
    • Lists top 250 affiliates, sorted by the number of points each gained over the past 7 days.
  • Top Movers

Content

OG Project page

http://spreadfirefox.com/affiliates