The Master Formula for Online Fundraising Optimization