The issue here is knowing whether a given ad is leading to sales. But there is an old technique that has been used for a very long time: the ad provides a code or a coupon that gives the customer a small discount. If the advertiser uses multiple channels and different codes for each, they will quickly find out which ads are leading to sales.