The simplest way to track quality is to get the ratio of work to rework effort. If you are using a effort tracking system check if it supports such classification feature. The reduction in rework effort shows the focus on quality and the reduction in work effort show the focus on productivity.