Improved keying for cookie alerts.