This is exactly how it works. When you click an affiliate link, it doesn’t matter whether you purchase the exact item linked by the influencer or not. The point is, it places a cookie on your device for that site (and some of these cookies will last for up to six weeks), and if you buy ANYTHING from that site within that time frame, the influencers WILL receive a commission from the sale.
Check out an influencer’s list of affiliate links in their YouTube video description box: if they’re very crafty, they will link a different website every time (Cult Beauty, Superdrug, Boots, ASOS, Amazon, etc), so as to cast the net as widely as possible.
Then wipe your device of cookies so they don’t get any of your money! Christmas is a-coming, and I’m sure we will all be shopping online more this year. Be vigilant with your swipe-ups.