Affiliate marketing is one component of Digital marketing. Digital marketing has a wider scope. It includes incorporating various tools and marketing techniques to drive sales, brand recognition and grow business.