Tag calculation and use of metrics