By viewing statistics over time. Blizzard doesn’t share all of their information publicly, but they collect data on all kinds of aggregate behavior to gauge success and inform future changes. In this particular case, they even shared a benchmark with us early on to note the change in “abusive chat” rates as indicated by player reports: