Tag analyzer for packaged sweets