Is it the Simpsons or Seinfeld where in one episode one of the characters gets a Nielsen box that is used for measuring tv viewership and they can’t leave the house for fear of shows being canceled if they’re not home to watch it.
They did something similar in “Roseanne.” The Connors were selected to be a Nielsen family and Roseanne made the family watch nothing but PBS, documentaries, etc the whole time. She wanted to hack the ratings so that over time, regular folks like her family would get exposed to a better class of information.