By monitoring metrics like click-through rate on Google Analytics, or using the Facebook pixel to track conversions, like the number of sales generated by an ad.