How Affiliate Marketing Works: What You Need to Know About It