persist the uniqueId instead of module.action to make it possible to add an alert for goals which have additional parameters