Networks and publishers paid a commission only when a shopper they referred buys: affiliate networks that track the sales, and the cashback, coupon, review, and content sites, browser extensions, and creators that send the traffic.
Affiliate networks are one player in the e-commerce & online marketplaces industry, and an industry of their own, with their own suppliers, customers, software, regulators, and money flows. This full map is on the roadmap.
Meanwhile: how affiliate networks fit into e-commerce & online marketplaces