Use systems like HasOffers, GetAmbassador, or ReferralPop to track everything.
Keep affiliates engaged with email drips and regular communication.
You will want to have product/market fit first, and you will want to make sure you have optimized the onboarding experience before rolling out a program like this.