Isn’t that basically the point of Nielsen? They go to a lot of trouble to get trustworthy stats about TV viewership so that advertisers can make informed purchase decisions wrt. both stations and programs.
Several companies have tried to fill that role online, but not to much success.