Tag decision framework