Refactor code to pass the event path instead of the Campaign